@@ -5,7 +5,7 @@ import type * as http from 'node:http';
5
5
import type * as https from 'node:https' ;
6
6
import type { EventEmitter } from 'node:stream' ;
7
7
import { context , propagation } from '@opentelemetry/api' ;
8
- import { isTracingSuppressed , VERSION } from '@opentelemetry/core' ;
8
+ import { isTracingSuppressed } from '@opentelemetry/core' ;
9
9
import type { InstrumentationConfig } from '@opentelemetry/instrumentation' ;
10
10
import { InstrumentationBase , InstrumentationNodeModuleDefinition } from '@opentelemetry/instrumentation' ;
11
11
import type { AggregationCounts , Client , SanitizedRequestData , Scope } from '@sentry/core' ;
@@ -24,6 +24,7 @@ import {
24
24
logger ,
25
25
LRUMap ,
26
26
parseUrl ,
27
+ SDK_VERSION ,
27
28
stripUrlQueryAndFragment ,
28
29
withIsolationScope ,
29
30
} from '@sentry/core' ;
@@ -136,7 +137,7 @@ export class SentryHttpInstrumentation extends InstrumentationBase<SentryHttpIns
136
137
private _ignoreOutgoingRequestsMap : WeakMap < http . ClientRequest , boolean > ;
137
138
138
139
public constructor ( config : SentryHttpInstrumentationOptions = { } ) {
139
- super ( INSTRUMENTATION_NAME , VERSION , config ) ;
140
+ super ( INSTRUMENTATION_NAME , SDK_VERSION , config ) ;
140
141
141
142
this . _propagationDecisionMap = new LRUMap < string , boolean > ( 100 ) ;
142
143
this . _ignoreOutgoingRequestsMap = new WeakMap < http . ClientRequest , boolean > ( ) ;
0 commit comments