-
Notifications
You must be signed in to change notification settings - Fork 608
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't get custom profiles (goroutines,etc)? #768
Comments
@rlex Thank you for reporting this!
The configuration should look like this: enabled-profiles: [cpu, mem, goroutines, mutex, block]
profiles:
goroutines:
path: /debug/pprof/goroutine
sample-types:
goroutine:
display-name: goroutines
units: objects
aggregation: average
mutex:
path: /debug/pprof/mutex
sample-types:
contentions:
display-name: mutex-contentions
units: objects
aggregation: average
delay: # Not fully supported: needs handling nanoseconds unit properly.
display-name: mutex-delay
units: nanoseconds
aggregation: average
block:
path: /debug/pprof/block
sample-types:
contentions:
display-name: block-contentions
units: objects
aggregation: average
delay:
display-name: block-delay
units: nanoseconds
aggregation: average Note that in UI you can see misleading description - we're planing to release support for all profile types in Go soon and this will be fixed.
That's right, the configuration takes precedence. |
Yep, seems to be working now, thanks! |
Uh, this a leftover, sorry! We plan to slightly redesign this custom profiles thing in the nearest future (in a backward-compatible way), therefore this part was removed from the documentation (but links are still accessible, yeah). |
Yes, seems like everything is solved here. Thanks! |
Not sure if my misconfig or bug. Installed pyroscope to kubernetes with helm chart, added profiles and stuff:
(pyroscope 0.8.0)
checked /tmp/config.yaml in pod:
For tests i chose prometheus, adding following to annotations:
also tried adding (should be redundant since i already specified them as default scrape job?)
However, i see no goroutines or mutex profiles available - only default 5 (cpu, objects/mem alloc/inuse).
The text was updated successfully, but these errors were encountered: