Docs: Accurately reflecting available variables (#29302)

Labels are only available at the field level, and not the series level
This commit is contained in:
Danny Kopping 2020-11-24 10:49:28 +02:00 committed by GitHub
parent 8e9778215b
commit c21cf065b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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