Skip to content

How to set default attributes for metrics ? #3333

Answered by cijothomas
alefcarlos asked this question in Q&A
Discussion options

You must be logged in to vote

Resource is a way to model this. (The console exporter for metrics is ignoring resource - its a bug. will send a fix).
But you must be using something other than Console for your actual service right? Like an OTLP exporter. it should already support Resources.

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@alefcarlos
Comment options

@cijothomas
Comment options

@alefcarlos
Comment options

@xavirec
Comment options

@cijothomas
Comment options

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