Skip to content

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

@AbhiPrasad AbhiPrasad force-pushed the add-sentry-to-otel-example branch from 4800576 to cf9aa82 Compare June 26, 2024 20:36
@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