-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Sentry: mapping OTLP service.name to DSNs for multiple Sentry Projects #3869
Comments
I think this is a very reasonable request - in fact we’ve tracked a similar issue in our fork of the collector. getsentry#10 I’ll assign myself there and see if I can push out a patch. Thanks for reporting! |
Thank you! |
Upvote for this. |
Signed-off-by: Bogdan Drutu <[email protected]>
Was this ever finished somewhere? If not; have people been setting up an insane amount of sentry exporters? |
I am also facing the same issue, was anybody able to do something about it ? |
This issue can be worked around using routing processor. sample below
|
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping |
Pinging code owners for exporter/sentry: @AbhiPrasad. See Adding Labels via Comments if you do not have permissions to add labels yourself. |
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
This issue has been closed as inactive because it has been stale for 120 days with no activity. |
Is your feature request related to a problem? Please describe.
The Sentry exporter takes a DSN argument which maps to a single Project, but I wouldn't want to run a separate OpenTelemetry Collector process for each of my projects.
https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/exporter/sentryexporter
Describe the solution you'd like
Ideally, Sentry itself could accept traces for multiple projects through a single API key and use the service name to put the traces into the right one.
Alternatively, have a mapping of service.name to dsn values in the opentelemetry collector config file. This wouldn't require changes to the Sentry hosted service and wouldn't be an unreasonable burden on the collector config (at least to have a starting point for next steps)
https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/resource/semantic_conventions/README.md#service
cc @AbhiPrasad
The text was updated successfully, but these errors were encountered: