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
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,13 @@
1
1
# Changelog
2
2
3
+
## Unreleased
4
+
5
+
### Fixes
6
+
7
+
- Removed user segment ([#3512](https://github.com/getsentry/sentry-java/pull/3512))
8
+
- Use span id of remote parent ([#3548](https://github.com/getsentry/sentry-java/pull/3548))
9
+
- Traces were broken because on an incoming request, OtelSentrySpanProcessor did not set the parentSpanId on the span correctly. Traces were not referencing the actual parent span but some other (random) span ID which the server doesn't know.
Copy file name to clipboardExpand all lines: sentry-opentelemetry/sentry-opentelemetry-extra/src/main/java/io/sentry/opentelemetry/OtelSpanWrapper.java
Copy file name to clipboardExpand all lines: sentry/api/sentry.api
+1-9Lines changed: 1 addition & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -53,7 +53,6 @@ public final class io/sentry/Baggage {
53
53
public fun getTransaction ()Ljava/lang/String;
54
54
public fun getUnknown ()Ljava/util/Map;
55
55
public fun getUserId ()Ljava/lang/String;
56
-
public fun getUserSegment ()Ljava/lang/String;
57
56
public fun isMutable ()Z
58
57
public fun set (Ljava/lang/String;Ljava/lang/String;)V
59
58
public fun setEnvironment (Ljava/lang/String;)V
@@ -64,9 +63,8 @@ public final class io/sentry/Baggage {
64
63
public fun setTraceId (Ljava/lang/String;)V
65
64
public fun setTransaction (Ljava/lang/String;)V
66
65
public fun setUserId (Ljava/lang/String;)V
67
-
public fun setUserSegment (Ljava/lang/String;)V
68
66
public fun setValuesFromScope (Lio/sentry/IScope;Lio/sentry/SentryOptions;)V
69
-
public fun setValuesFromTransaction (Lio/sentry/protocol/SentryId;Lio/sentry/protocol/User;Lio/sentry/SentryOptions;Lio/sentry/TracesSamplingDecision;Ljava/lang/String;Lio/sentry/protocol/TransactionNameSource;)V
67
+
public fun setValuesFromTransaction (Lio/sentry/protocol/SentryId;Lio/sentry/SentryOptions;Lio/sentry/TracesSamplingDecision;Ljava/lang/String;Lio/sentry/protocol/TransactionNameSource;)V
70
68
public fun toHeaderString (Ljava/lang/String;)Ljava/lang/String;
71
69
public fun toTraceContext ()Lio/sentry/TraceContext;
72
70
}
@@ -81,7 +79,6 @@ public final class io/sentry/Baggage$DSCKeys {
81
79
public static final field TRACE_ID Ljava/lang/String;
82
80
public static final field TRANSACTION Ljava/lang/String;
83
81
public static final field USER_ID Ljava/lang/String;
84
-
public static final field USER_SEGMENT Ljava/lang/String;
85
82
public fun <init> ()V
86
83
}
87
84
@@ -3351,7 +3348,6 @@ public final class io/sentry/TraceContext : io/sentry/JsonSerializable, io/sentr
3351
3348
public fun getTransaction ()Ljava/lang/String;
3352
3349
public fun getUnknown ()Ljava/util/Map;
3353
3350
public fun getUserId ()Ljava/lang/String;
3354
-
public fun getUserSegment ()Ljava/lang/String;
3355
3351
public fun serialize (Lio/sentry/ObjectWriter;Lio/sentry/ILogger;)V
3356
3352
public fun setUnknown (Ljava/util/Map;)V
3357
3353
}
@@ -3372,7 +3368,6 @@ public final class io/sentry/TraceContext$JsonKeys {
3372
3368
public static final field TRANSACTION Ljava/lang/String;
3373
3369
public static final field USER Ljava/lang/String;
3374
3370
public static final field USER_ID Ljava/lang/String;
3375
-
public static final field USER_SEGMENT Ljava/lang/String;
3376
3371
public fun <init> ()V
3377
3372
}
3378
3373
@@ -5265,7 +5260,6 @@ public final class io/sentry/protocol/User : io/sentry/JsonSerializable, io/sent
5265
5260
public fun getIpAddress ()Ljava/lang/String;
5266
5261
public fun getName ()Ljava/lang/String;
5267
5262
public fun getOthers ()Ljava/util/Map;
5268
-
public fun getSegment ()Ljava/lang/String;
5269
5263
public fun getUnknown ()Ljava/util/Map;
5270
5264
public fun getUsername ()Ljava/lang/String;
5271
5265
public fun hashCode ()I
@@ -5277,7 +5271,6 @@ public final class io/sentry/protocol/User : io/sentry/JsonSerializable, io/sent
5277
5271
public fun setIpAddress (Ljava/lang/String;)V
5278
5272
public fun setName (Ljava/lang/String;)V
5279
5273
public fun setOthers (Ljava/util/Map;)V
5280
-
public fun setSegment (Ljava/lang/String;)V
5281
5274
public fun setUnknown (Ljava/util/Map;)V
5282
5275
public fun setUsername (Ljava/lang/String;)V
5283
5276
}
@@ -5296,7 +5289,6 @@ public final class io/sentry/protocol/User$JsonKeys {
5296
5289
public static final field IP_ADDRESS Ljava/lang/String;
5297
5290
public static final field NAME Ljava/lang/String;
5298
5291
public static final field OTHER Ljava/lang/String;
5299
-
public static final field SEGMENT Ljava/lang/String;
5300
5292
public static final field USERNAME Ljava/lang/String;
0 commit comments