File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -9,11 +9,11 @@ import { B3Propagator } from '@opentelemetry/propagator-b3';
9
9
import { CompositePropagator , W3CTraceContextPropagator } from '@opentelemetry/core' ;
10
10
import { registerInstrumentations } from '@opentelemetry/instrumentation' ;
11
11
import { Resource } from '@opentelemetry/resources' ;
12
- import { SemanticResourceAttributes } from '@opentelemetry/semantic-conventions' ;
12
+ import { SEMRESATTRS_SERVICE_NAME } from '@opentelemetry/semantic-conventions' ;
13
13
14
14
const provider = new WebTracerProvider ( {
15
15
resource : new Resource ( {
16
- [ SemanticResourceAttributes . SERVICE_NAME ] : 'web-service-dl' ,
16
+ [ SEMRESATTRS_SERVICE_NAME ] : 'web-service-dl' ,
17
17
} ) ,
18
18
} ) ;
19
19
Original file line number Diff line number Diff line change @@ -6,11 +6,11 @@ import { B3Propagator } from '@opentelemetry/propagator-b3';
6
6
import { getWebAutoInstrumentations } from '@opentelemetry/auto-instrumentations-web' ;
7
7
import { registerInstrumentations } from '@opentelemetry/instrumentation' ;
8
8
import { Resource } from '@opentelemetry/resources' ;
9
- import { SemanticResourceAttributes } from '@opentelemetry/semantic-conventions' ;
9
+ import { SEMRESATTRS_SERVICE_NAME } from '@opentelemetry/semantic-conventions' ;
10
10
11
11
const providerWithZone = new WebTracerProvider ( {
12
12
resource : new Resource ( {
13
- [ SemanticResourceAttributes . SERVICE_NAME ] : 'web-service-meta' ,
13
+ [ SEMRESATTRS_SERVICE_NAME ] : 'web-service-meta' ,
14
14
} ) ,
15
15
} ) ;
16
16
Original file line number Diff line number Diff line change @@ -7,11 +7,11 @@ import { B3Propagator } from '@opentelemetry/propagator-b3';
7
7
import { XMLHttpRequestInstrumentation } from '@opentelemetry/instrumentation-xml-http-request' ;
8
8
import { registerInstrumentations } from '@opentelemetry/instrumentation' ;
9
9
import { Resource } from '@opentelemetry/resources' ;
10
- import { SemanticResourceAttributes } from '@opentelemetry/semantic-conventions' ;
10
+ import { SEMRESATTRS_SERVICE_NAME } from '@opentelemetry/semantic-conventions' ;
11
11
12
12
const providerWithZone = new WebTracerProvider ( {
13
13
resource : new Resource ( {
14
- [ SemanticResourceAttributes . SERVICE_NAME ] : 'web-service-ui' ,
14
+ [ SEMRESATTRS_SERVICE_NAME ] : 'web-service-ui' ,
15
15
} ) ,
16
16
} ) ;
17
17
Original file line number Diff line number Diff line change 46
46
"@opentelemetry/instrumentation-xml-http-request" : " ^0.39.1" ,
47
47
"@opentelemetry/propagator-b3" : " ^1.13.0" ,
48
48
"@opentelemetry/sdk-trace-web" : " ^1.13.0" ,
49
- "@opentelemetry/semantic-conventions" : " ^1.13 .0"
49
+ "@opentelemetry/semantic-conventions" : " ^1.23 .0"
50
50
},
51
51
"homepage" : " https://github.com/open-telemetry/opentelemetry-js-contrib#readme"
52
52
}
You can’t perform that action at this time.
0 commit comments