-
-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DS issues on SDKs #49
Comments
That's also about to change for the Java SDK with this PR getsentry/sentry-java#2226 |
Do we just make |
How about we just flip the default to |
@adinauer @bruno-garcia that was already described here getsentry/sentry-java#2244 |
@bruno-garcia that would also mean, that once the flag is removed, each "captureTransaction" will send the traceContext (dynamic sampling context) to sentry and there is no way for the user to disable this behavior. |
That's the goal of |
@philipphofmann @brustolin is this being used? |
No, we dont have this flag anymore. |
Please do it to avoid further confusion. |
@brustolin, please create an issue for that on the Cocoa repo. |
@brustolin or @marandaneto, do we already have an issue for that on the Cocoa repo? If yes, is it done? |
user.segment
isn't unified.iOS reads from
user.data
and Java fromuser.other
.#37 but the right behavior is adding a top-level property called
segment
.https://github.com/getsentry/sentry-javascript/blob/beb3c973c0f10c538c8369983fc08c5bd031bfde/packages/types/src/user.ts#L8
Java issue
iOS issue
Docs PR
tracePropagationTargets
isn't unified, but we'd need to offer at least one option.Java reads from
tracingOrigins
and iOS does not have it at all.#39
baggage
behavior isn't unified.Java always overwrites the
baggage
header which is wrong per spec, iOS does not.https://develop.sentry.dev/sdk/performance/dynamic-sampling-context/#baggage
Java has an open draft that addresses that.
traceSampling
SDK option.Java is guarded by this option, iOS does not have it at all, not sure if such a flag should exist.
Apparently, it's only gated by
tracePropagationTargets
, we don't need suchtraceSampling
flag.Java issue
traceSampling
flag in favor oftracePropagationTargets
sentry-java#2244iOS will do
tracePropagationTargets
#39SDK's don't implement the
dynamic_sampling_context_frozen
logic, do we need it?https://develop.sentry.dev/sdk/performance/dynamic-sampling-context/#unified-propagation-mechanism
https://develop.sentry.dev/sdk/performance/dynamic-sampling-context/#freezing-dynamic-sampling-context
Java has an open draft that addresses that.
This is experimental and we should not do anything for now, even less relevant for Mobile.
How do we track the adoption of DS on SDKs? do we need to?
Remove
isTraceSampling
option so we can propagate baggage by defaultRelated issues
The text was updated successfully, but these errors were encountered: