Skip to content

Metric name to lower case #41098

Closed Answered by edmocosta
GGonzalezGomez asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @GGonzalezGomez, you can use the transform processor for that (see it in action here):

processors:
  transform/metric_names_lowercase:
    metric_statements:
      - set(metric.name, ToLowerCase(metric.name))

OTTL has several functions that can be used to manipulate/transform data. It also accepts conditions in case you need to apply it only to specific metrics.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by GGonzalezGomez
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants