Skip to content

Instantly share code, notes, and snippets.

@graysonarts
Created March 24, 2023 14:19
Show Gist options
  • Save graysonarts/629f0edbb6262a89101a3837b7df3815 to your computer and use it in GitHub Desktop.
Save graysonarts/629f0edbb6262a89101a3837b7df3815 to your computer and use it in GitHub Desktop.
Adding an attribute in the otel pipeline
processors:
attributes/env:
actions:
- key: deployment.environment
value: production
action: insert
service:
pipelines:
traces:
...
processors: [attributes/env, ...]
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment