-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OTEL - Automatic ENDUSER_ID and ENDUSER_ROLE filling #34526
Comments
@brunobat maybe we could add a span processor similar to mine only when the configuration is set to true. I think the "ManagedExecutor" is ugly, but I found no other way because vert.x complained about being blocked otherwise. |
Yes, this should be optional and we could integrate with the jwt. |
Is there any (internal) way to ask quarkus for the current list of roles ? |
found it ! That solves everything ... |
/cc @radcortez (opentelemetry,tracing) |
I would propose opening opening a draft PR so we can comment on what you've done (we'll need to involve @sberyozkin as well) |
this what I had in mind ! let me know what do you think (especially about the ManagedExecutor part) |
👍🏼 |
I'm going to reopen this issue as the current implementation has been removed due to reliability issues (see: #39563) in reporting the user data and also by always requiring the activation of the request context. |
Assigning to @michalvavrik. |
Description
Hi guys,
as discussed here #33349 it would be nice for Quarkus OpenTelemetry Extension to automatically fill enduser.id and enduser.role when possible, maybe there could be a configuration to enable this behavior.
I am doing this in my projects with a custom SpanProcessor, but maybe this could be of interest for others too (without reinventing the wheel).
What do you think ?
Implementation ideas
The text was updated successfully, but these errors were encountered: