Skip to content

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 s1gr1d and stephanie-anderson 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