Set metrics attributes in some context #5426
Unanswered
dominikjeske
asked this question in
Q&A
Replies: 1 comment 6 replies
-
can you elaborate what you are trying to achieve, so we can offer some suggestions. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I wonder is it possible to set some context to metrics emitted in application. Currently resource attributes are statically generated on service start and implementing some attribute in each individual metric would be stupid. I have scenario when I would like to emit some metrics during performance tests in different scenarios and name of the scenario would be ideal context for me. I could set this context dynamically and change it when scenario is changing. I found this open-telemetry/oteps#207 but it is still open. Is there any way to set such context and propagate it to OTLP exporter?
Beta Was this translation helpful? Give feedback.
All reactions