Skip to content
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

Example of adding sentry to an existing OTEL app #1

Closed
wants to merge 1 commit into from

Conversation

AbhiPrasad
Copy link
Member

Install and add Sentry to an existing OTEL installation via @sentry/node.

Sentry docs: https://docs.sentry.io/platforms/javascript/guides/nextjs/tracing/instrumentation/opentelemetry/#using-a-custom-opentelemetry-setup

@tnolet
Copy link

tnolet commented Jun 27, 2024

@AbhiPrasad thanks for making this PR. I have on question: how can we add our own Sampler? With my custom OTel setup I explicitly do not want to use Sentry's sampler.

@AbhiPrasad
Copy link
Member Author

I think getsentry/sentry-javascript#12674 will help expose the correct APIs for custom sampling

@AbhiPrasad AbhiPrasad closed this Jun 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants