Reference to the length() string manipulation function


length(metric|source|<pointTagKey>, <tsExpression>)

Returns the length of the specified metadata string.


metric|source|<pointTagKey> The metadata string (metric name, source name, or value of a point tag key) to get the length of.
tsExpression The expression that describes the time series with the metadata string that you want the length of.


The following example returns the length of the string dataingester, which is the value of the service point tag. The length is 12 characters, as shown in the hover text.

ts length