mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Docs: Accurately reflecting available variables (#29302)
Labels are only available at the field level, and not the series level
This commit is contained in:
parent
8e9778215b
commit
c21cf065b2
@ -27,13 +27,13 @@ These variables allow you to include the current time range in the data link URL
|
||||
Series specific variables are available under ``__series`` namespace:
|
||||
|
||||
- ``__series.name`` - series name to the URL
|
||||
- ``__series.labels.<LABEL>`` - label's value to the URL. If your label contains dots, then use ``__series.labels["<LABEL>"]`` syntax.
|
||||
|
||||
## Field variables
|
||||
|
||||
Field-specific variables are available under ``__field`` namespace:
|
||||
|
||||
- ``__field.name`` - the name of the field
|
||||
- ``__field.labels.<LABEL>`` - label's value to the URL. If your label contains dots, then use ``__field.labels["<LABEL>"]`` syntax.
|
||||
|
||||
## Value variables
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user