mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Chore: docs fixes underscore formatting (#16516)
Fixes #16507 Markdown formatting in VS Code converts from asterisks to underscores but this can be incorrect in a case like _label_names()_. This fix escapes the underscores that should be kept.
This commit is contained in:
@@ -69,13 +69,13 @@ types of template variables.
|
||||
Variable of the type _Query_ allows you to query Prometheus for a list of metrics, labels or label values. The Prometheus data source plugin
|
||||
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`. |
|
||||
| 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`. |
|
||||
|
||||
For details of _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).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user