Skip to content

How to add custom attributes to http auto instrumentation? #4088

Answered by klippx
klippx asked this question in Q&A
Discussion options

You must be logged in to vote

We decided to solve this in otel config instead

otel-config.yaml

    processors:
      attributes/extra:
        actions:
        - key: role
          value: ${env:ROLE}
          action: insert

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@klippx
Comment options

Answer selected by klippx
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