-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
add note about micrometer #4643
Changes from all commits
bb56c3c
96a670e
0bacee0
b799aa6
4c0d1cf
960723e
6e2518d
288e244
ebf1152
39e3ed4
16d71a3
56d1659
62ef7ee
e2937bc
8e501c2
ffda775
2a7bfd6
2e69e62
1aeb2f5
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -6,6 +6,8 @@ aliases: | |||||||||||||||||||
- /docs/zero-code/java/spring-boot | ||||||||||||||||||||
--- | ||||||||||||||||||||
|
||||||||||||||||||||
## Java agent versus Spring Boot starter | ||||||||||||||||||||
|
||||||||||||||||||||
You can use two options to instrument | ||||||||||||||||||||
[Spring Boot](https://spring.io/projects/spring-boot) applications with | ||||||||||||||||||||
OpenTelemetry. | ||||||||||||||||||||
|
@@ -23,3 +25,33 @@ OpenTelemetry. | |||||||||||||||||||
- **Spring Boot configuration files** (`application.properties`, | ||||||||||||||||||||
`application.yml`) to configure the OpenTelemetry Spring Boot starter which | ||||||||||||||||||||
doesn't work with the OpenTelemetry Java agent | ||||||||||||||||||||
|
||||||||||||||||||||
## Comparison to Micrometer | ||||||||||||||||||||
|
||||||||||||||||||||
A question asked frequently is how [Micrometer](https://micrometer.io/) and the OpenTelemetry Spring Boot Starter differentiate. At a high level, the differences are as follows: | ||||||||||||||||||||
|
||||||||||||||||||||
OpenTelemetry Spring Boot starter: | ||||||||||||||||||||
|
||||||||||||||||||||
- Natively uses the OpenTelemetry API, OpenTelemetry SDK, and the OpenTelemetry | ||||||||||||||||||||
semantic conventions. | ||||||||||||||||||||
- Supported by the OpenTelemetry community (governed by the CNCF / Linux | ||||||||||||||||||||
Foundation). | ||||||||||||||||||||
|
||||||||||||||||||||
Micrometer [^1][^2]: | ||||||||||||||||||||
|
||||||||||||||||||||
- An independent standalone observability system. | ||||||||||||||||||||
- Offers optional bridges into parts of the OpenTelemetry ecosystem. | ||||||||||||||||||||
- Supported by the Micrometer community (governed by Broadcom Inc). | ||||||||||||||||||||
|
||||||||||||||||||||
As the authors of the OpenTelemetry Spring Boot starter, we 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, open an | ||||||||||||||||||||
[issue](https://github.com/open-telemetry/opentelemetry-java-instrumentation/issues) | ||||||||||||||||||||
in our repository. | ||||||||||||||||||||
Comment on lines
+46
to
+51
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
This is the sentence I would remove in the light of "neutrality". It's very obvious that we recommend the otel solution, so we don't have to say that explicitly. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It sounds a bit like we would not be convinced that our solution is the better one. We do try to become the standard API in the java world - can we say that in a friendly way? |
||||||||||||||||||||
|
||||||||||||||||||||
[^1]: | ||||||||||||||||||||
[Micrometer metrics OTLP registry](https://docs.micrometer.io/micrometer/reference/implementations/otlp.html) | ||||||||||||||||||||
|
||||||||||||||||||||
[^2]: | ||||||||||||||||||||
[Micrometer tracing OpenTelemetry bridge](https://docs.micrometer.io/tracing/reference/tracers.html) |
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.
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.
you also don't get SDK features