Reference to the charAt string manipulation function
charAt(metric|source|<pointTagKey>, <integer>, <tsExpression>)
Returns the character at the specified position in the specified metadata string.
|metric|source|<pointTagKey>||The metadata string (metric name, source name, or value of a point tag key) to extract a character from.|
|integer||The position of the character that you want to extract. Positions are counted from left to right, starting with 0.|
|tsExpression||The expression that describes the time series with the metadata string to extract a character from.|
In the example below, we use
charAt() to extract characters from the value of the
service point tag, which is
- The character at position 0 is
- The character at position 5 is
The returned characters are case sensitive.