How to enrich traces with data from scoped service? #3851
Unanswered
BogdanGirnyk
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Have you looked at using the Enrich option provided by the instrumentation libraries? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I want to enrich traces with data related to current user.
I've tried Enriching Processor as described here.
The issue is that the
Processors
are registered in DI as a singletons so there is no suitable way to inject user data that is scoped.Could you advice the correct way to implement this task?
Beta Was this translation helpful? Give feedback.
All reactions