Merge pull request #15290 from mtanda/prometheus_label_names_query

(prometheus) support /api/v1/labels
This commit is contained in:
Daniel Lee
2019-03-05 15:45:14 +01:00
committed by GitHub
4 changed files with 52 additions and 0 deletions
@@ -68,6 +68,7 @@ provides the following functions you can use in the `Query` input field.
Name | Description
---- | --------
*label_names()* | Returns a list of label names.
*label_values(label)* | Returns a list of label values for the `label` in every metric.
*label_values(metric, label)* | Returns a list of label values for the `label` in the specified metric.
*metrics(metric)* | Returns a list of metrics matching the specified `metric` regex.