Skip to content

Rename the value of span service.name from "old_name" to "new_name" #18879

Answered by dmitryax
jvijayan6 asked this question in Q&A
Discussion options

You must be logged in to vote

@jvijayan6

Try transform processor with the following config:

transform:
  error_mode: ignore
  trace_statements:
    - context: resource
      statements:
        - replace_match(attributes["service.name"], "gateway", "edge_proxy")

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@jvijayan6
Comment options

@jvijayan6
Comment options

@jvijayan6
Comment options

Answer selected by jvijayan6
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
3 participants