You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+9-3Lines changed: 9 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,15 +9,21 @@
9
9
- To enable the auto configuration of it, please set `-Dotel.java.global-autoconfigure.enabled=true` on the `java` command, when starting your application.
10
10
- You may also want to set `OTEL_LOGS_EXPORTER=none;OTEL_METRICS_EXPORTER=none;OTEL_TRACES_EXPORTER=none` env vars to not have the log flooded with error messages regarding OpenTelemetry features we don't use.
11
11
-`OpenTelemetryUtil.applyOpenTelemetryOptions` now takes an enum instead of a boolean for its mode
12
-
- Use `AGENT` when using `sentry-opentelemetry-agent`
13
-
- Use `AGENTLESS` when using `sentry-opentelemetry-agentless`
14
-
- Use `AGENTLESS_SPRING` when using `sentry-opentelemetry-agentless-spring`
- It defaults to `AUTO` meaning the SDK will figure out how to best configure itself for use with OpenTelemetry
14
+
- Use of OpenTelemetry can also be disabled completely by setting it to `OFF` ([#3995](https://github.com/getsentry/sentry-java/pull/3995))
15
+
- In this case even if OpenTelemetry is present, the Sentry SDK will not use it
16
+
- Use `AGENT` when using `sentry-opentelemetry-agent`
17
+
- Use `AGENTLESS` when using `sentry-opentelemetry-agentless`
18
+
- Use `AGENTLESS_SPRING` when using `sentry-opentelemetry-agentless-spring`
15
19
16
20
### Fixes
17
21
18
22
- Replace deprecated `SimpleInstrumentation` with `SimplePerformantInstrumentation` for graphql 22 ([#3974](https://github.com/getsentry/sentry-java/pull/3974))
19
23
- Cache requests for Spring using Springs `ContentCachingRequestWrapper` instead of our own Wrapper to also cache parameters ([#3641](https://github.com/getsentry/sentry-java/pull/3641))
20
24
- Previously only the body was cached which could lead to problems in the FilterChain as Request parameters were not available
25
+
- We now hold a strong reference to the underlying OpenTelemetry span when it is created through Sentry API ([#3997](https://github.com/getsentry/sentry-java/pull/3997))
26
+
- This keeps it from being garbage collected too early
Copy file name to clipboardExpand all lines: sentry-samples/sentry-samples-console-opentelemetry-noagent/src/main/java/io/sentry/samples/console/Main.java
0 commit comments