-
|
I am trying to find out the easiest and most reliable way to enable OpenTelemetry observability in SpringBoot. On one hand we have the OpenTelemetry micrometer support for metrics and tracing. Tracing requires an exporter provided by OTEL as well: On the other hand, we have the official OpenTelemetry starter dependency To the best of my knowledge there is some overlapping in both solutions as they do instrumentation to some degree, but I would like to know the following:
NOTE: I posted the same question in StackOverflow but nobody has answered it, so I thought trying here. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
|
hi @silver-mx! At a very very high level: OpenTelemetry Spring Boot starter
Micrometer
As a member of the OpenTelemetry Java community, I (probably unsurprisingly) recommend using the OpenTelemetry Spring Boot starter. We have a great community behind it, and are continuously making improvements. If you try it out and have any problems or suggestions, please open an issue in our repository. |
Beta Was this translation helpful? Give feedback.
-
|
isn't javaagent the third option? |
Beta Was this translation helpful? Give feedback.
-
|
Hi all this was so helpful and made my day, thanks! Both of the above approaches use java libraries that have the almost exact same names, containing So this call out is to explain to everyone that: Option "cncf otel impl." 1 as per above answer is from groupId Option 2 "micrometer" as per above answer is from groupId Maybe someone else out there who is an SME on the topic can clarify further, but thread carefully! |
Beta Was this translation helpful? Give feedback.
hi @silver-mx!
At a very very high level:
OpenTelemetry Spring Boot starter
Micrometer
As a member of the OpenTelemetry Java community, I (probably unsurprisingly) recommend using the OpenTelemetry Spring Boot starter. We have a great community behind it, and are continuously making improvements. If you try it out and have any probl…