Title: Filter OpenTelemetry traces caused by Sentry · Issue #9127 · getsentry/sentry-javascript · GitHub
Open Graph Title: Filter OpenTelemetry traces caused by Sentry · Issue #9127 · getsentry/sentry-javascript
X Title: Filter OpenTelemetry traces caused by Sentry · Issue #9127 · getsentry/sentry-javascript
Description: Problem Statement I am sending OpenTelemetry to a service X that isn't Sentry. I want to start sending it to Sentry as well, but because Sentry only supports sending it via the SDK, I have to add the Sentry spanprocessor. However, this c...
Open Graph Description: Problem Statement I am sending OpenTelemetry to a service X that isn't Sentry. I want to start sending it to Sentry as well, but because Sentry only supports sending it via the SDK, I have to add t...
X Description: Problem Statement I am sending OpenTelemetry to a service X that isn't Sentry. I want to start sending it to Sentry as well, but because Sentry only supports sending it via the SDK, I have to a...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/9127
X: @github
Domain: github.com
IPv4 address: 140.82.112.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Filter OpenTelemetry traces caused by Sentry","articleBody":"### Problem Statement\n\nI am sending OpenTelemetry to a service X that isn't Sentry. I want to start sending it to Sentry as well, but because Sentry only supports sending it via the SDK, I have to add the Sentry spanprocessor. However, this causes additional traces from Sentry itself to show up in X as well (from instrumentation-net and instrumentation-http).\r\n\r\nThese are unrelated to my application and I don't want to store them. Otel Collector doesn't allow discarding specific spans and their children as far as I can tell, so it would be great if I could filter them from the SDK configuration.\n\n### Solution Brainstorm\n\nIn https://github.com/getsentry/sentry-javascript/blob/develop/packages/opentelemetry-node/src/spanprocessor.ts#L93-L100 there is some code that prevents HTTP requests to Sentry from being sent as telemetry to Sentry. Perhaps this can be used to prevent these requests from going to other OpenTelemetry services as well.","author":{"url":"https://github.com/hkrutzer","@type":"Person","name":"hkrutzer"},"datePublished":"2023-09-27T08:51:05Z","url":"https://github.com/getsentry/sentry-javascript/issues/9127"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:e0ff36ba-2a4e-f0dc-ee88-bf2158f40214 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8250:3B1B50:B4DE6D:EDEED2:6B04DC79 |
| html-safe-nonce | 8e929a00959f2a330eeb7ae06691806a316540957b91ea5b4d68b52574638222 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MjUwOjNCMUI1MDpCNERFNkQ6RURFRUQyOjZCMDREQzc5IiwidmlzaXRvcl9pZCI6IjY2NTgzMjIyNDU5NTQzNDYxOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 2e8185094baf063e32fc92fac6e7b640e2ec32f9ace4ee7d93780e691edbbc0c |
| hovercard-subject-tag | issue:1915019583 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-javascript/9127/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8171b84fdf728e23670bc7231819af18eb7d7f0673adf88c9ae68b2b0763ffc5/getsentry/sentry-javascript/issues/9127 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8171b84fdf728e23670bc7231819af18eb7d7f0673adf88c9ae68b2b0763ffc5/getsentry/sentry-javascript/issues/9127 |
| og:image:alt | Problem Statement I am sending OpenTelemetry to a service X that isn't Sentry. I want to start sending it to Sentry as well, but because Sentry only supports sending it via the SDK, I have to add t... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | hkrutzer |
| hostname | github.com |
| expected-hostname | github.com |
| None | 194dacb8acfd3e4d3ffb2704e0b1f10327f0dad690a7142acc7b0e0a2d073965 |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3328572 |
| octolytics-dimension-repository_nwo | getsentry/sentry-javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3328572 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-javascript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 6c35540a0a2991ee20bd053ba2601cce33f72cb1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width