The
KeyValueMetricMeasurementTransformer uses metric name as if if contained a pattern of key/value in its name.
The pattern is as follow:
key1.val1.key2.val2. ... .key2n+1.value2n+1.metric-name
Finally this transformer will generate a measurement named `metric-name` with tags [[key1=val1],[key2=val2], ..., [key2n+1=val2n+1]].
If when splitting the initial metric name using the '.' character, the number of strings is not even, then the last 2 strings will be used to generate
the measurement-name.
Examples:
- `server.actarus.cpu_load` will be transformed to a measurement called `cpu_load` with tags [[server=actarus]]
- `server.actarus.cores.cpu_load` will be transformed to a measurement called `cores.cpu_load` with tags [[server=actarus]]