-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Support OpenTelemetry Browser SDK #8785
Comments
Hello, Sentry currently does not output OTEL-compatible spans for the browser. If you need OTEL spans, you'll have to use some Opentelemetry SDK. Note that we as of now do not provide an out-of-the-box experience to convert otel browser spans to Sentry either - you'd have to take care of that yourself. What are you actually trying to achieve with this? Do you want to send the span data somewhere else than Sentry as well, or why would you want to have OTEL spans as well? While we are currently investigating better coupling with OTEL for Node (server) applications, we are currently not doing so for Browser SDKs yet, because of bundle size concerns. |
yes,i want to send the span data somewhere else than Sentry as well,for example grafana. |
The bundle size comment is the explainer why we are currently not investigating this in detail - because we take a strong ownership for the browser SDK to keep bundle size as low as we can. I'll move this issue to the backlog, as we are not currently working on (or planning to work on) a browser-OTEL connector. We are pretty swamped with other tasks right now, so it's hard to say if/when we'll get around to look into this. |
We're tracking this in a GH discussion: #7364 - let's close this issue. @2015214130 please leave your feedback in the discussion! |
Please close it |
I understand. Thank you |
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/browser
SDK Version
7.61.0
Framework Version
No response
Link to Sentry event
No response
SDK Setup
No response
Steps to Reproduce
In order to make the data format exported by the browser more universal, I want to convert the Sentry report format to OpenTelemetry format. How can I solve this problem。
Expected Result
export OpenTelemetry format
Actual Result
export Sentry format
The text was updated successfully, but these errors were encountered: