Skip to content
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

[4.x] - MP OpenTelemetry and Helidon Tracing API #8073

Merged
merged 18 commits into from
Dec 1, 2023

Conversation

dalexandrov
Copy link
Contributor

@dalexandrov dalexandrov commented Nov 24, 2023

Resolves #8068

  • add `io.helidon.tracing.Tracer' injection
  • register Global telemetry object
  • add full URL span name property
  • correct mix of Helidon Tracing API and OpenTelemetry API with the correct parent setting
  • documentation

Signed-off-by: Dmitry Aleksandrov <[email protected]>
Signed-off-by: Dmitry Aleksandrov <[email protected]>
@dalexandrov dalexandrov added this to the 4.0.2 milestone Nov 24, 2023
@dalexandrov dalexandrov self-assigned this Nov 24, 2023
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Nov 24, 2023
Signed-off-by: Dmitry Aleksandrov <[email protected]>
Signed-off-by: Dmitry Aleksandrov <[email protected]>
Signed-off-by: Dmitry Aleksandrov <[email protected]>
Signed-off-by: Dmitry Aleksandrov <[email protected]>
@dalexandrov dalexandrov marked this pull request as ready for review November 27, 2023 13:28
Signed-off-by: Dmitry Aleksandrov <[email protected]>
Copy link
Member

@tomas-langer tomas-langer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please update the example

Signed-off-by: Dmitry Aleksandrov <[email protected]>
Signed-off-by: Dmitry Aleksandrov <[email protected]>
Signed-off-by: Dmitry Aleksandrov <[email protected]>
Copy link
Member

@tomas-langer tomas-langer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We do not want (and need) to use Arquillian.
We just need to create a tracer in memory, and register it with open telemetry, so it can be accessed later from tests.

/**
* Test Span Hierarchy with Tracer Mock
*/
@ExtendWith(ArquillianExtension.class)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We definitely do not want to use Arquillian in Helidon tests

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removed

Signed-off-by: Dmitry Aleksandrov <[email protected]>
Signed-off-by: Dmitry Aleksandrov <[email protected]>
Signed-off-by: Dmitry Aleksandrov <[email protected]>
Signed-off-by: Dmitry Aleksandrov <[email protected]>
@dalexandrov dalexandrov merged commit a5764d1 into helidon-io:main Dec 1, 2023
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4.x Version 4.x microprofile OCA Verified All contributors have signed the Oracle Contributor Agreement. telemetry tracing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Epic] Opentelemetry and Helidon Tracing API in Helidon 4
2 participants