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
Currently, we offer multiple options to configure sampling for tracing:
tracesSampleRate
tracesSampler
enableTracing
But when to use which, is sometimes not obvious to our users. What makes this worse is that implications of some of them differ across SDKs, for example when it comes to Trace Propagation. In Python for example, propagation of trace headers works without any tracing config options in place being set. In Go, you need to at least set enableTracing to true in order to achieve the same result.
Goal is:
remove enableTracing in all SDKs
make tracesSampleRate the default, also in config snippets
explain how to get more out of sampling by using the tracesSampler function
mark enableTracing in all SDK docs as deprecated (config option page)
Deprecation
The content you are editing has changed. Please copy your edits and refresh the page.
Currently, we offer multiple options to configure sampling for tracing:
tracesSampleRate
tracesSampler
enableTracing
But when to use which, is sometimes not obvious to our users. What makes this worse is that implications of some of them differ across SDKs, for example when it comes to Trace Propagation. In Python for example, propagation of trace headers works without any tracing config options in place being set. In Go, you need to at least set
enableTracing
totrue
in order to achieve the same result.Goal is:
enableTracing
in all SDKstracesSampleRate
the default, also in config snippetstracesSampler
functionenableTracing
in all SDK docs as deprecated (config option page)Deprecation
SDKs
enableTracing
option sentry-javascript#12883enableTracing
option sentry-dart#2181enableTracing
option sentry-java#3566The text was updated successfully, but these errors were encountered: