History

GrafanaAdapters: Added meta-data substitution parameters for Label function when series values map directly to point tags.

J. Ritchie Carroll committed 9 years ago

Commit da0dc1b1 parent 0063ff64 files · +54 −4Browse files

Showing the changes to Source/Documentation (1 of 4 files). Show all

Unified · Split

Source/Documentation/GrafanaFunctions.md+1−1
@@ -417,7 +417,7 @@ Returns a series of values that represent an adjusted set of angles that are wra · 416 unmodified lines
417417
418418 ## Label
419419
420−Renames a series with the specified label value. If multiple series are targeted, labels will be indexed starting at one, e.g., if there are three series in the target expression with a label value of "Max", series would be labeled as "Max 1", "Max 2" and "Max 3". Group operations on this function will be ignored.
420+Renames a series with the specified label value. If multiple series are targeted, labels will be indexed starting at one, e.g., if there are three series in the target expression with a label value of "Max", series would be labeled as "Max 1", "Max 2" and "Max 3". Group operations on this function will be ignored. The label parameter also supports substitutions when root target metadata can be resolved. For series values that directly map to a point tag, one of the following metadata value substitutions can be used in the label value: {ID}, {SignalID}, {PointTag}, {AlternateTag}, {SignalReference}, {Device} or {SignalType} - where applicable, these substitutions can be used in any combination.
421421
422422 * Signature: `Label(value, expression)`
423423 * Returns: Series of values

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t