Skip to content

Commit

Permalink
pyroscope: memory path fix (#178)
Browse files Browse the repository at this point in the history
* pyroscope: memory path fix

* Update river.test.ts
  • Loading branch information
petethepig authored Oct 29, 2023
1 parent e833139 commit 61671a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/lib/components.ts
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,7 @@ export const KnownComponents: Record<string, ComponentType> = {
args: {
"profile.memory": new BlockType({
args: {
path: new LiteralArgument("string", "/debug/pprof/memory"),
path: new LiteralArgument("string", "/debug/pprof/allocs"),
enabled: new LiteralArgument("boolean", true),
delta: new LiteralArgument("boolean", false),
},
Expand Down
2 changes: 1 addition & 1 deletion src/lib/river.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ targets = [prometheus.exporter.redis.target]
).toEqual({
path_prefix: "/app",
"profile.memory": {
path: "/debug/pprof/memory",
path: "/debug/pprof/allocs",
delta: false,
enabled: true,
},
Expand Down

0 comments on commit 61671a0

Please sign in to comment.