support /api/v1/labels

This commit is contained in:
Mitsuhiro Tanda
2019-02-07 13:59:42 +09:00
parent 6caae9167e
commit d46bf75293
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.