Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upImprove Prometheus's internal metrics #961
Comments
This comment has been minimized.
This comment has been minimized.
|
/cc @brian-brazil because he has mentioned this at times and probably has opinions about what should be changed (besides, ehem, changing everything to seconds!). |
This comment has been minimized.
This comment has been minimized.
|
I maintain that the correct way to measure memory usage is in terms of how much of it you can read in a second! |
This comment has been minimized.
This comment has been minimized.
|
@brian-brazil Haha, |
This comment has been minimized.
This comment has been minimized.
|
On a more serious note, I'll be doing up consoles templates for prometheus itself in the next few days so I should have some concrete suggestions from that. |
This comment has been minimized.
This comment has been minimized.
|
There are also parts which are not instrumented at all – namely the On Tue, Aug 4, 2015 at 2:37 PM Brian Brazil notifications@github.com
|
This comment has been minimized.
This comment has been minimized.
|
Can I drop a feature request here?
:) |
This comment has been minimized.
This comment has been minimized.
|
Per-instance/job metrics are something that should come from the scrape, and don't belong on the /metrics for prometheus as they're not about prometheus at a systems level.
Be careful with that one, it's going to be slow. |
This comment has been minimized.
This comment has been minimized.
|
Yea, the last one is precisely the reason why we'd like a counter :) |
This comment has been minimized.
This comment has been minimized.
|
The way to do that would be as |
fabxc
assigned
juliusv
Aug 18, 2015
brian-brazil
added
the
enhancement
label
Dec 16, 2015
fabxc
added
kind/enhancement
and removed
enhancement
labels
Apr 28, 2016
brian-brazil
referenced this issue
Oct 26, 2016
Merged
Add scrape_samples_scraped to indicate samples scraped. #2123
This comment has been minimized.
This comment has been minimized.
|
scrape_samples_scraped has been added. The rest of this ticket is rather generic, so if there's specific metrics you're looking for please open issues for then. |
brian-brazil
closed this
Oct 26, 2016
This comment has been minimized.
This comment has been minimized.
|
I guess @fabxc original intention was to keep this as a reminder to eventually rewrite the instrumentation from scratch. I don't know if anybody ever will have the time and nerves to do so. We could just keep improving instrumentation iteratively as we see fit. |
This comment has been minimized.
This comment has been minimized.
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. |
fabxc commentedAug 4, 2015
Many parts of Prometheus itself are not instrumented as well they should be.