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

docs: add other default disabled instrumentations #11908

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions docs/supported-libraries.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,13 @@ For this reason, the following instrumentations are disabled by default:
- `jdbc-datasource` which creates spans whenever the `java.sql.DataSource#getConnection` method is called.
- `dropwizard-metrics` which might create a very low quality metrics data, because of lack of label/attribute support
in the Dropwizard metrics API.
- `jaxws-jws-api` which create only internal spans that don't have any defined semantic conventions.
- `mybatis` for the same reason as above.
- `spring-ws` for the same reason as above.
- `jaxrs` for the same reason as above.
- `spring-batch`
Copy link
Contributor

Choose a reason for hiding this comment

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

It seems there are other disabled instrumentations that you ignored. Such as micrometer.

You can find all of them by searching public boolean defaultEnabled(ConfigProperties config) { and checking which one's default value is false.

Copy link
Author

Choose a reason for hiding this comment

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

Not sure whether I should include the internal instrumentations, but I've added all the others in 0c2b870

- `micrometer` which produces a lot of metrics that are already captured
- `spring-boot-actuator-autoconfigure` which will enable `micrometer`

To enable them, add the `otel.instrumentation.<name>.enabled` system property:
`-Dotel.instrumentation.jdbc-datasource.enabled=true`
Loading