Package io.sentry
Class Baggage
java.lang.Object
io.sentry.Baggage
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
forceSetSampleRate
(@Nullable String sampleRate) void
freeze()
static @NotNull Baggage
fromEvent
(@NotNull SentryEvent event, @NotNull SentryOptions options) static @NotNull Baggage
fromHeader
(@Nullable String headerValue) static @NotNull Baggage
fromHeader
(@Nullable String headerValue, boolean includeThirdPartyValues, @NotNull ILogger logger) static @NotNull Baggage
fromHeader
(@Nullable List<String> headerValues) static @NotNull Baggage
fromHeader
(@Nullable List<String> headerValues, boolean includeThirdPartyValues, @NotNull ILogger logger) static @NotNull Baggage
fromHeader
(@Nullable List<String> headerValues, @NotNull ILogger logger) static @NotNull Baggage
fromHeader
(String headerValue, @NotNull ILogger logger) @Nullable String
@Nullable String
@Nullable String
@Nullable String
@Nullable String
@Nullable String
@Nullable String
@Nullable Double
@Nullable String
@Nullable Double
@Nullable String
@Nullable String
@Nullable String
@Nullable String
boolean
boolean
void
void
setEnvironment
(@Nullable String environment) void
setPublicKey
(@Nullable String publicKey) void
setRelease
(@Nullable String release) void
setReplayId
(@Nullable String replayId) void
setSampled
(@Nullable String sampled) void
setSampleRand
(@Nullable String sampleRand) void
setSampleRandDouble
(@Nullable Double sampleRand) void
setSampleRate
(@Nullable String sampleRate) void
setTraceId
(@Nullable String traceId) void
setTransaction
(@Nullable String transaction) void
void
setValuesFromSamplingDecision
(@Nullable TracesSamplingDecision samplingDecision) void
setValuesFromScope
(@NotNull IScope scope, @NotNull SentryOptions options) void
setValuesFromTransaction
(@NotNull SentryId traceId, @Nullable SentryId replayId, @NotNull SentryOptions sentryOptions, @Nullable TracesSamplingDecision samplingDecision, @Nullable String transactionName, @Nullable TransactionNameSource transactionNameSource) @NotNull String
toHeaderString
(@Nullable String thirdPartyBaggageHeaderString) @Nullable TraceContext
-
Constructor Details
-
Baggage
-
Baggage
-
Baggage
-
-
Method Details
-
fromHeader
-
fromHeader
-
fromHeader
-
fromHeader
-
fromHeader
-
fromHeader
-
fromEvent
@Internal @NotNull public static @NotNull Baggage fromEvent(@NotNull @NotNull SentryEvent event, @NotNull @NotNull SentryOptions options) -
freeze
@Internal public void freeze() -
isMutable
@Internal public boolean isMutable() -
isShouldFreeze
@Internal public boolean isShouldFreeze() -
getThirdPartyHeader
-
toHeaderString
-
get
-
getTraceId
-
setTraceId
-
getPublicKey
-
setPublicKey
-
getEnvironment
-
setEnvironment
-
getRelease
-
setRelease
-
getUserId
-
setUserId
-
getTransaction
-
setTransaction
-
getSampleRate
-
getSampled
-
setSampleRate
-
forceSetSampleRate
-
getSampleRand
-
setSampleRand
-
setSampleRandDouble
-
setSampled
-
getReplayId
-
setReplayId
-
set
-
getUnknown
-
setValuesFromTransaction
@Internal public void setValuesFromTransaction(@NotNull @NotNull SentryId traceId, @Nullable @Nullable SentryId replayId, @NotNull @NotNull SentryOptions sentryOptions, @Nullable @Nullable TracesSamplingDecision samplingDecision, @Nullable @Nullable String transactionName, @Nullable @Nullable TransactionNameSource transactionNameSource) -
setValuesFromSamplingDecision
@Internal public void setValuesFromSamplingDecision(@Nullable @Nullable TracesSamplingDecision samplingDecision) -
setValuesFromScope
@Internal public void setValuesFromScope(@NotNull @NotNull IScope scope, @NotNull @NotNull SentryOptions options) -
getSampleRateDouble
-
getSampleRandDouble
-
toTraceContext
-