-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Description
Hello,
Currently, I am using the Java Agent method, which is straightforward to set up and I highly recommend it for getting started. However, I've noticed that this approach misses many Observations and metrics that follow the Spring Boot Observability recommendations. When I tried to enable Micrometer instrumentation, I encountered the following issues:
- Duplicate metrics (e.g., the HTTP request is provided by both Spring Boot and the OpenTelemetry Auto instrumentation).
- The traces built with Micrometer are not exported.
I've observed similar issues with the OpenTelemetry Spring Boot Starter.
So, I believe there is a third way to configure OpenTelemetry with Spring Boot: Spring Boot Native Support for OpenTelemetry protocol
Interestingly, the Spring team is actively working on integrating observability into all Spring modules, such as:
These integrations provide valuable insights about the application.
Request
Can we provide a comprehensive documentation guide that explains how to configure Spring Boot logs, traces, and metrics export to the OpenTelemetry protocol? This would be beneficial for users looking to leverage the full observability capabilities of Spring Boot with OpenTelemetry.
Offer
I am willing to contribute by writing the article if needed.
Thank you for considering this request.
Best regards
Metadata
Metadata
Assignees
Labels
Type
Projects
Status