@@ -5,7 +5,7 @@ import type * as http from 'node:http';
55import type * as https from 'node:https' ;
66import type { EventEmitter } from 'node:stream' ;
77import { context , propagation } from '@opentelemetry/api' ;
8- import { isTracingSuppressed , VERSION } from '@opentelemetry/core' ;
8+ import { isTracingSuppressed } from '@opentelemetry/core' ;
99import type { InstrumentationConfig } from '@opentelemetry/instrumentation' ;
1010import { InstrumentationBase , InstrumentationNodeModuleDefinition } from '@opentelemetry/instrumentation' ;
1111import type { AggregationCounts , Client , SanitizedRequestData , Scope } from '@sentry/core' ;
@@ -24,6 +24,7 @@ import {
2424 logger ,
2525 LRUMap ,
2626 parseUrl ,
27+ SDK_VERSION ,
2728 stripUrlQueryAndFragment ,
2829 withIsolationScope ,
2930} from '@sentry/core' ;
@@ -136,7 +137,7 @@ export class SentryHttpInstrumentation extends InstrumentationBase<SentryHttpIns
136137 private _ignoreOutgoingRequestsMap : WeakMap < http . ClientRequest , boolean > ;
137138
138139 public constructor ( config : SentryHttpInstrumentationOptions = { } ) {
139- super ( INSTRUMENTATION_NAME , VERSION , config ) ;
140+ super ( INSTRUMENTATION_NAME , SDK_VERSION , config ) ;
140141
141142 this . _propagationDecisionMap = new LRUMap < string , boolean > ( 100 ) ;
142143 this . _ignoreOutgoingRequestsMap = new WeakMap < http . ClientRequest , boolean > ( ) ;
0 commit comments