-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
EndUserSpanProcessor integration #34595
Conversation
/cc @brunobat (opentelemetry), @radcortez (opentelemetry) |
77d302a
to
47e3f32
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR @amoscatelli.
I think we should not add a SpanProcessor and include a ManagedExecutor just for this purpose.
I was expecting to instrument quarkus-jwt and get that information from there.
I wonder if @sberyozkin can help with that?
We also need tests.
This comment has been minimized.
This comment has been minimized.
I think there is a misunderstanding. Then I switched to SecurityIdentity, hoping, among the other things, to workaroud the ManagedExecutor thing, but it is still required. Of course as I said from the beginning I would like to avoid both the ManagedExecutor and the requestscope. |
f1461af
to
859a574
Compare
LGTM, indeed, should not be tied up with the specific type of credentials or authentication mechanism. |
@amoscatelli Can you please fix the conflict ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @sberyozkin.
@amoscatelli can you please add tests?
Thank you. |
.../src/main/java/io/quarkus/opentelemetry/runtime/config/build/EndUserSpanProcessorConfig.java
Show resolved
Hide resolved
6fe7e1a
to
5b504c7
Compare
This comment has been minimized.
This comment has been minimized.
integration-tests/opentelemetry/src/main/resources/application.properties
Outdated
Show resolved
Hide resolved
8c53459
to
1739282
Compare
Done ! |
@brunobat please tell me if there is something more I can do because this is requiring a rebase after rebase :-) |
integration-tests/opentelemetry/src/test/java/io/quarkus/it/opentelemetry/EndUserTest.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great!
Thanks @amoscatelli
This comment has been minimized.
This comment has been minimized.
@amoscatelli please build the extension and the IT test before pushing. The local build will auto format the code. |
✖ This workflow run has failed but no jobs reported an error. Something weird happened, please check the workflow run page carefully: it might be an issue with the workflow configuration itself. |
@brunobat I think this is done, can this be merged please ? |
Thanks @amoscatelli. Do you have Twitter? I'd like to post about this PR. |
No sorry but I have Linkedin ! |
sure |
Closes #34526