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 upExport value of sample_limit #4933
Comments
This comment has been minimized.
This comment has been minimized.
|
This would be a new additional sample for every single target, which is not something to add lightly from a resource usage standpoint. It's expected that you'd know the values you're using, and not have many of them, so this could be handled fairly sanely via configuration management. |
This comment has been minimized.
This comment has been minimized.
|
That's a good point. I had forgotten that the limit was set per scape config, not globally. |
svend
closed this
Jan 3, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
svend commentedNov 29, 2018
Proposal
This is a feature request.
Export value of
sample_limitso that alerts can be set for scrapes that are approaching the limit without hard-coding the limit in the alert.I checked the exported metrics on Prometheus 2.3.2 and didn't see this currently exported.