-
-
Notifications
You must be signed in to change notification settings - Fork 428
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
Missing continueFromHeaders method #1346
Comments
@Tyrrrz this is relevant for you too |
Currently we support:
|
Same story on .NET: |
yeah if integrations have its own wrapper around headers etc, does not make much sense, so we need to tackle this via docs, I know the API pretty well and I could not find out that I had to use the
at least the naming is a bit more suitable to the action, so I'd not even need to read the docs. |
@marandaneto would that be |
To be honest I think just documenting: Only could be simplified to: This API is only used when continuing a trace from some other system like a messaging middleware or an HTTP server so it's mostly used by integrations |
IMO the problem is, people are used to using the Static sentry class, that's the entry point API for everything, they don't know about |
We decided to document how to do this here https://docs.sentry.io/platforms/java/guides/spring/performance/instrumentation/custom-instrumentation/#distributed-tracing instead of adding the method. |
When one wanna continue a trace from a header, right now it requires a bit of boilerplate and also no official docs on how to do it.
The guideline says we should provide a method called
continueFromHeaders
to make it easier https://develop.sentry.dev/sdk/performance/eg Python https://github.com/getsentry/sentry-python/blob/2df9e1a230f1294b4fc319cb65838dcd6bb2e75c/sentry_sdk/tracing.py#L272
related to getsentry/sentry-docs#2984
The text was updated successfully, but these errors were encountered: