Docs: initial pruning of outdated versioning info (#95212)
* initial pruning of outdated versioning info * removing erroneous file
This commit is contained in:
@@ -304,18 +304,12 @@ Grafana has global built-in variables that can be used in expressions in the que
|
||||
|
||||
### $\_\_dashboard
|
||||
|
||||
In Grafana 7.1, the variable changed from showing the UID of the current dashboard to the name of the current dashboard.
|
||||
|
||||
This variable is the name of the current dashboard.
|
||||
|
||||
### $\_\_from and $\_\_to
|
||||
|
||||
Grafana has two built-in time range variables: `$__from` and `$__to`. They are currently always interpolated as epoch milliseconds by default, but you can control date formatting.
|
||||
|
||||
{{% admonition type="note" %}}
|
||||
This special formatting syntax is only available in Grafana 7.1.2+
|
||||
{{% /admonition %}}
|
||||
|
||||
| Syntax | Example result | Description |
|
||||
| ------------------------ | ------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| `${__from}` | 1594671549254 | Unix millisecond epoch |
|
||||
@@ -639,10 +633,6 @@ demo.robustperception.io:9100
|
||||
|
||||
### Filter and modify using named text and value capture groups
|
||||
|
||||
{{% admonition type="note" %}}
|
||||
This feature is available in Grafana 7.4+.
|
||||
{{% /admonition %}}
|
||||
|
||||
Using named capture groups, you can capture separate 'text' and 'value' parts from the options returned by the variable query. This allows the variable drop-down list to contain a friendly name for each value that can be selected.
|
||||
|
||||
For example, when querying the `node_hwmon_chip_names` Prometheus metric, the `chip_name` is a lot friendlier than the `chip` value. So the following variable query result:
|
||||
|
||||
Reference in New Issue
Block a user