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
{{ message }}
Repository navigation
Commit 4a9986d
Browse filesBrowse the repository at this point in the historyBrowse files
* ref(opentelemetry): Remove deprecated OpenTelemetry classes
Remove the legacy span processor, propagator, error event processor, and trace
data classes for the 9.0 release. Keep the Otel-prefixed integration classes as
the supported implementations.
Fixes#6013
Co-Authored-By: Claude <noreply@anthropic.com>
* changelog
* ref(core): Remove deprecated SentrySpanStorage
Remove the unused legacy OpenTelemetry span storage. The current integration uses
SentryWeakSpanStorage from sentry-opentelemetry-bootstrap instead.
Co-Authored-By: Claude <noreply@anthropic.com>
* changelog
---------
Co-authored-by: Claude <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,6 +43,7 @@
43
43
- Manually constructed `SentryTimberIntegration` and `SentryTimberTree` instances require a
44
44
`logsEnabled` argument. Pass `false` to keep Sentry Logs disabled.
45
45
- Remove the Apache HttpClient transport and stop publishing `sentry-apache-http-client-5` ([#6214](https://github.com/getsentry/sentry-java/pull/6214))
46
+
- Remove deprecated OpenTelemetry integration classes and the legacy `SentrySpanStorage` ([#6243](https://github.com/getsentry/sentry-java/pull/6243))
46
47
- Decide whether foregrounding the app starts a new session on a monotonic clock instead of the wall clock, so that a device time change no longer starts a session that should have been resumed, or resumes one that should have ended. This affects session counts ([#6096](https://github.com/getsentry/sentry-java/pull/6096))
Copy file name to clipboardExpand all lines: sentry-opentelemetry/sentry-opentelemetry-core/api/sentry-opentelemetry-core.api
-30Lines changed: 0 additions & 30 deletions
Original file line number
Diff line number
Diff line change
@@ -4,12 +4,6 @@ public final class io/sentry/opentelemetry/OpenTelemetryAttributesExtractor {
4
4
public fun extractUrl (Lio/opentelemetry/api/common/Attributes;Lio/sentry/SentryOptions;)Ljava/lang/String;
5
5
}
6
6
7
-
public final class io/sentry/opentelemetry/OpenTelemetryLinkErrorEventProcessor : io/sentry/internal/eventprocessor/SentryEventProcessor {
8
-
public fun <init> ()V
9
-
public fun getOrder ()Ljava/lang/Long;
10
-
public fun process (Lio/sentry/SentryEvent;Lio/sentry/Hint;)Lio/sentry/SentryEvent;
11
-
}
12
-
13
7
public final class io/sentry/opentelemetry/OtelInternalSpanDetectionUtil {
14
8
public fun <init> ()V
15
9
public static fun isSentryRequest (Lio/sentry/IScopes;Lio/opentelemetry/api/trace/SpanKind;Lio/opentelemetry/api/common/Attributes;)Z
@@ -110,13 +104,6 @@ public final class io/sentry/opentelemetry/OtelSpanWrapper : io/sentry/opentelem
110
104
public fun updateEndDate (Lio/sentry/SentryDate;)Z
111
105
}
112
106
113
-
public final class io/sentry/opentelemetry/SentryPropagator : io/opentelemetry/context/propagation/TextMapPropagator {
114
-
public fun <init> ()V
115
-
public fun extract (Lio/opentelemetry/context/Context;Ljava/lang/Object;Lio/opentelemetry/context/propagation/TextMapGetter;)Lio/opentelemetry/context/Context;
116
-
public fun fields ()Ljava/util/Collection;
117
-
public fun inject (Lio/opentelemetry/context/Context;Ljava/lang/Object;Lio/opentelemetry/context/propagation/TextMapSetter;)V
118
-
}
119
-
120
107
public final class io/sentry/opentelemetry/SentrySampler : io/opentelemetry/sdk/trace/samplers/Sampler {
121
108
public fun <init> ()V
122
109
public fun <init> (Lio/sentry/IScopes;)V
@@ -140,14 +127,6 @@ public final class io/sentry/opentelemetry/SentrySpanExporter : io/opentelemetry
140
127
public fun shutdown ()Lio/opentelemetry/sdk/common/CompletableResultCode;
141
128
}
142
129
143
-
public final class io/sentry/opentelemetry/SentrySpanProcessor : io/opentelemetry/sdk/trace/SpanProcessor {
144
-
public fun <init> ()V
145
-
public fun isEndRequired ()Z
146
-
public fun isStartRequired ()Z
147
-
public fun onEnd (Lio/opentelemetry/sdk/trace/ReadableSpan;)V
148
-
public fun onStart (Lio/opentelemetry/context/Context;Lio/opentelemetry/sdk/trace/ReadWriteSpan;)V
149
-
}
150
-
151
130
public final class io/sentry/opentelemetry/SpanDescriptionExtractor {
152
131
public fun <init> ()V
153
132
public fun extractSpanInfo (Lio/opentelemetry/sdk/trace/data/SpanData;Lio/sentry/opentelemetry/IOtelSpanWrapper;Lio/sentry/SentryOptions;)Lio/sentry/opentelemetry/OtelSpanInfo;
@@ -165,12 +144,3 @@ public final class io/sentry/opentelemetry/SpanNode {
165
144
public fun setSpan (Lio/opentelemetry/sdk/trace/data/SpanData;)V
166
145
}
167
146
168
-
public final class io/sentry/opentelemetry/TraceData {
169
-
public fun <init> (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/sentry/SentryTraceHeader;Lio/sentry/Baggage;)V
170
-
public fun getBaggage ()Lio/sentry/Baggage;
171
-
public fun getParentSpanId ()Ljava/lang/String;
172
-
public fun getSentryTraceHeader ()Lio/sentry/SentryTraceHeader;
Copy file name to clipboardExpand all lines: sentry-opentelemetry/sentry-opentelemetry-core/src/main/java/io/sentry/opentelemetry/OpenTelemetryLinkErrorEventProcessor.java
Copy file name to clipboardExpand all lines: sentry-opentelemetry/sentry-opentelemetry-core/src/main/java/io/sentry/opentelemetry/SentryPropagator.java
0 commit comments