From 59402504800931d10134f8b4e478f4565cd57427 Mon Sep 17 00:00:00 2001 From: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com> Date: Wed, 11 Nov 2020 15:47:18 +0100 Subject: [PATCH] Fix prometheus docs related to query variable (#29027) --- docs/sources/datasources/prometheus.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/sources/datasources/prometheus.md b/docs/sources/datasources/prometheus.md index 6302b2ecd84..f723ecdf302 100644 --- a/docs/sources/datasources/prometheus.md +++ b/docs/sources/datasources/prometheus.md @@ -86,11 +86,11 @@ 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. | -| `query_\__result(query)` | Returns a list of Prometheus query result for the `query`. | +| `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. | +| `query_result(query)` | Returns a list of Prometheus query result for the `query`. | For details of what _metric names_, _label names_ and _label values_ are please refer to the [Prometheus documentation](http://prometheus.io/docs/concepts/data_model/#metric-names-and-labels).