Reference to the repeat string manipulation function
Summary
repeat(metric|source|<pointTagKey>, <integer>, <tsExpression>)
Repeats the specified metadata string a specified number of times.
Parameters
Parameter | Description |
---|---|
metric|source|<pointTagKey> | The metadata string (metric name, source name, or value of a point tag key) to be repeated. |
integer | The integer that specifies how many times to repeat the metadata string. |
tsExpression | The expression that describes the time series with the metadata string to be repeated. |
Example
In the following example, the value of the service
point tag is dataingester
. We repeat that value twice to get the string dataingesterdataingester
.