Skip to content

how to add more dimensions to all metrics with custom extension? #7765

Answered by mateuszrzeszutek
tuhao1020 asked this question in Q&A
Discussion options

You must be logged in to vote

If you're using environment variables (which are constant for a single execution of a program), how about adding them to the resource attributes? Resource attributes are attached to all telemetry emitted by the agent, metrics included.

Replies: 1 comment 1 reply

Comment options

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

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