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

feat(core)!: Remove addOpenTelemetryInstrumentation method #14792

Merged
merged 1 commit into from
Dec 19, 2024

Conversation

AbhiPrasad
Copy link
Member

Deprecation PR: #14485

The addOpenTelemetryInstrumentation method has been removed. Use the openTelemetryInstrumentations option in Sentry.init() or your custom Sentry Client instead.

import * as Sentry from '@sentry/node';

// before
Sentry.addOpenTelemetryInstrumentation(new GenericPoolInstrumentation());

// after
Sentry.init({
  openTelemetryInstrumentations: [new GenericPoolInstrumentation()],
});

@AbhiPrasad AbhiPrasad requested a review from a team December 18, 2024 21:13
@AbhiPrasad AbhiPrasad self-assigned this Dec 18, 2024
@AbhiPrasad AbhiPrasad requested review from stephanie-anderson and s1gr1d and removed request for a team December 18, 2024 21:13
@AbhiPrasad AbhiPrasad merged commit 6038628 into develop Dec 19, 2024
110 checks passed
@AbhiPrasad AbhiPrasad deleted the abhi-remove-addOpenTelemetryInstrumentation branch December 19, 2024 14:08
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