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 upAdd filtering on metric name to label_values #1495
Comments
This comment has been minimized.
This comment has been minimized.
|
Closing this, I realized that something more complex needed |
roman-vynar
closed this
Mar 24, 2016
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. |
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.
roman-vynar commentedMar 21, 2016
Currently, Prometheus supports the following HTTP API call to retrieve all label values by its name:
/label/:name/valuesIt would be great to extend this with some kind of filtering on metric name, so you can get label values limited to the given metric.
For example, the label is
deviceand I would like to get device name values only for the metricnode_filesystem_freeand notnode_network_receive_bytesor other.Say something like
/label/:name/values?metric=:metricThanks!