Skip to content
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 CPU pprof prometheus >0.15 #1067

Closed
mwitkow opened this Issue Sep 10, 2015 · 3 comments

Comments

Projects
None yet
3 participants
@mwitkow
Copy link
Contributor

mwitkow commented Sep 10, 2015

It seems that since 0.15, I am no longer able to grab a CPU profile of our prometheus. This is sad, because it was useful to see where our CPU actually goes (whether it's rules or scraping, or metric archiving). Right now I get:

michal:~/Private/i (master) $ go tool pprof http://leafmon:9090/debug/pprof/profile
Fetching profile from http://leafmon:9090/debug/pprof/profile
Please wait... (30s)
Saved profile in /home/michal/pprof/pprof.eu1-prod-simleaf-2.simleaf.eu1-prod.internal.improbable.io:9090.samples.cpu.001.pb.gz
Entering interactive mode (type "help" for commands)
(pprof) top10
1.77mins of 1.77mins total (  100%)
      flat  flat%   sum%        cum   cum%
  1.77mins   100%   100%   1.77mins   100%  

Similarly web is empty. Has something changed for 0.15? Or am I just missing something?

@brian-brazil

This comment has been minimized.

Copy link
Member

brian-brazil commented Sep 10, 2015

On Thu, Sep 10, 2015 at 10:01 AM, Michal Witkowski <notifications@github.com

wrote:

It seems that since 0.15, I am no longer able to grab a CPU profile of our
prometheus. This is sad, because it was useful to see where our CPU
actually goes (whether it's rules or scraping, or metric archiving). Right
now I get:

michal:~/Private/i (master) $ go tool pprof http://leafmon:9090/debug/pprof/profile
Fetching profile from http://leafmon:9090/debug/pprof/profile
Please wait... (30s)
Saved profile in /home/michal/pprof/pprof.eu1-prod-simleaf-2.simleaf.eu1-prod.internal.improbable.io:9090.samples.cpu.001.pb.gz
Entering interactive mode (type "help" for commands)
(pprof) top10
1.77mins of 1.77mins total ( 100%)
flat flat% sum% cum cum%
1.77mins 100% 100% 1.77mins 100%

Similarly web is empty. Has something changed for 0.15? Or am I just
missing something?

This was always broken until recently.
da2499d
fixes it. There hasn't been a release since, so you'll need to build from
head to get the fix.

Brian Brazil
www.robustperception.io

@juliusv

This comment has been minimized.

Copy link
Member

juliusv commented Sep 14, 2015

Yep, the fix will be rolled out with the next release (RC expected this week). Sorry about that! Closing the issue here, as it's fixed in HEAD.

@juliusv juliusv closed this Sep 14, 2015

@lock

This comment has been minimized.

Copy link

lock bot commented Mar 24, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Mar 24, 2019

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.