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
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,8 @@
15
15
- (Internal) Add API to filter native debug images based on stacktrace addresses ([#4089](https://github.com/getsentry/sentry-java/pull/4089))
16
16
- Propagate sampling random value ([#4153](https://github.com/getsentry/sentry-java/pull/4153))
17
17
- The random value used for sampling traces is now sent to Sentry and attached to the `baggage` header on outgoing requests
18
+
- Update `sampleRate` that is sent to Sentry and attached to the `baggage` header on outgoing requests ([#4158](https://github.com/getsentry/sentry-java/pull/4158))
19
+
- If the SDK uses its `sampleRate` or `tracesSampler` callback, it now updates the `sampleRate` in Dynamic Sampling Context.
Copy file name to clipboardExpand all lines: sentry-opentelemetry/sentry-opentelemetry-core/src/main/java/io/sentry/opentelemetry/OtelSentrySpanProcessor.java
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -83,6 +83,7 @@ public void onStart(final @NotNull Context parentContext, final @NotNull ReadWri
Copy file name to clipboardExpand all lines: sentry/api/sentry.api
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -33,6 +33,7 @@ public final class io/sentry/Baggage {
33
33
public fun <init> (Lio/sentry/Baggage;)V
34
34
public fun <init> (Lio/sentry/ILogger;)V
35
35
public fun <init> (Ljava/util/Map;Ljava/lang/String;ZZLio/sentry/ILogger;)V
36
+
public fun forceSetSampleRate (Ljava/lang/String;)V
36
37
public fun freeze ()V
37
38
public static fun fromEvent (Lio/sentry/SentryEvent;Lio/sentry/SentryOptions;)Lio/sentry/Baggage;
38
39
public static fun fromHeader (Ljava/lang/String;)Lio/sentry/Baggage;
@@ -70,6 +71,7 @@ public final class io/sentry/Baggage {
70
71
public fun setTraceId (Ljava/lang/String;)V
71
72
public fun setTransaction (Ljava/lang/String;)V
72
73
public fun setUserId (Ljava/lang/String;)V
74
+
public fun setValuesFromSamplingDecision (Lio/sentry/TracesSamplingDecision;)V
73
75
public fun setValuesFromScope (Lio/sentry/IScope;Lio/sentry/SentryOptions;)V
74
76
public fun setValuesFromTransaction (Lio/sentry/protocol/SentryId;Lio/sentry/protocol/SentryId;Lio/sentry/SentryOptions;Lio/sentry/TracesSamplingDecision;Ljava/lang/String;Lio/sentry/protocol/TransactionNameSource;)V
75
77
public fun toHeaderString (Ljava/lang/String;)Ljava/lang/String;
0 commit comments