Replies: 1 comment
-
Right now I send them to the different transform to achieve this. [transforms.count_metrics_fixed]
type = "remap"
inputs = ["count_metrics"]
source = '''
.tags = merge(.tags, parse_json!(.tags.other_labels)) ?? .tags
del(.tags.other_labels)
''' |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I couldn't find any way/example to use
log_to_metric
transformation with dynamic tag names. Having something similar to label expansion from the Loki sink will be useful.This way it would be possible to define labels in this fashion:
Similarly to Loki:
Beta Was this translation helpful? Give feedback.
All reactions