@sentry/opentelemetry-node
Advanced tools
Comparing version
@@ -27,3 +27,3 @@ var { | ||
core.addGlobalEventProcessor(event => { | ||
core.addEventProcessor(event => { | ||
const otelSpan = api.trace && api.trace.getActiveSpan && (api.trace.getActiveSpan() ); | ||
@@ -30,0 +30,0 @@ if (!otelSpan) { |
import { _optionalChain } from '@sentry/utils'; | ||
import { trace, context, SpanKind } from '@opentelemetry/api'; | ||
import { suppressTracing } from '@opentelemetry/core'; | ||
import { addTracingExtensions, addGlobalEventProcessor, getCurrentHub, getClient, Transaction } from '@sentry/core'; | ||
import { addTracingExtensions, addEventProcessor, getCurrentHub, getClient, Transaction } from '@sentry/core'; | ||
import { logger } from '@sentry/utils'; | ||
@@ -22,3 +22,3 @@ import { SENTRY_TRACE_PARENT_CONTEXT_KEY, SENTRY_DYNAMIC_SAMPLING_CONTEXT_KEY } from './constants.js'; | ||
addGlobalEventProcessor(event => { | ||
addEventProcessor(event => { | ||
const otelSpan = trace && trace.getActiveSpan && (trace.getActiveSpan() ); | ||
@@ -25,0 +25,0 @@ if (!otelSpan) { |
{ | ||
"name": "@sentry/opentelemetry-node", | ||
"version": "7.84.0", | ||
"version": "7.85.0", | ||
"description": "Official Sentry SDK for OpenTelemetry Node.js", | ||
@@ -26,5 +26,5 @@ "repository": "git://github.com/getsentry/sentry-javascript.git", | ||
"dependencies": { | ||
"@sentry/core": "7.84.0", | ||
"@sentry/types": "7.84.0", | ||
"@sentry/utils": "7.84.0" | ||
"@sentry/core": "7.85.0", | ||
"@sentry/types": "7.85.0", | ||
"@sentry/utils": "7.85.0" | ||
}, | ||
@@ -43,3 +43,3 @@ "peerDependencies": { | ||
"@opentelemetry/semantic-conventions": "^1.17.1", | ||
"@sentry/node": "7.84.0" | ||
"@sentry/node": "7.85.0" | ||
}, | ||
@@ -46,0 +46,0 @@ "sideEffects": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
205593
-0.06%+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
Updated
Updated
Updated