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

MicroProfile Telemetry Creation Review #114

Closed
Emily-Jiang opened this issue Jan 10, 2022 · 1 comment
Closed

MicroProfile Telemetry Creation Review #114

Emily-Jiang opened this issue Jan 10, 2022 · 1 comment

Comments

@Emily-Jiang
Copy link
Member

Emily-Jiang commented Jan 10, 2022

Background

MicroProfile OpenTracing was based on OpenTracing, which was discontinued. OpenTelemetry is the replacement for OpenTracing. Therefore, MicroProfile needs to adopt OpenTelemetry so that the MicroProfile applications can work with the new Tracer providers.

Scope

MicroProfile Telemetry will focus on Tracing first. In the future releases, it might adopt loging, metrics.

Description

MicroProfile Telemetry pulls in OpenTelemetry tracing and integrate with CDI and Jakarta Restful Services. It provides three types of instrumentations:

  • Automatic Instrumentation

Jakarta RESTful Web Services (server and client), and MicroProfile REST Clients are automatically enlisted to participate in distributed tracing without code modification as specified in the Tracing API.

  • Manual Instrumentation

Explicit manual instrumentation can be added into a MicroProfile application using annotation or programmatic lookup.

  • Agent Instrumentation

Implementations are free to support the OpenTelemetry Agent Instrumentation.

Testing

TCKs will be provided to test the CDI and Jakarta Restful Web Services integration and any new APIs that might be introduced.

More detailed proposal can be found here.

@riferrei
Copy link

riferrei commented Feb 3, 2022

I loved this initiative.

@Emily-Jiang Emily-Jiang changed the title MicroProfile OpenTelemetry Creation Review MicroProfile Telemetry Creation Review Feb 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants