File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
plugins/node/opentelemetry-instrumentation-router/src Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ import {
22
22
InstrumentationNodeModuleFile ,
23
23
isWrapped ,
24
24
} from '@opentelemetry/instrumentation' ;
25
- import { SEMATTRS_HTTP_ROUTE } from '@opentelemetry/semantic-conventions' ;
25
+ import { ATTR_HTTP_ROUTE } from '@opentelemetry/semantic-conventions' ;
26
26
27
27
import * as http from 'http' ;
28
28
import type * as Router from 'router' ;
@@ -166,7 +166,7 @@ export class RouterInstrumentation extends InstrumentationBase {
166
166
[ AttributeNames . NAME ] : fnName ,
167
167
[ AttributeNames . VERSION ] : this . _moduleVersion ,
168
168
[ AttributeNames . TYPE ] : type ,
169
- [ SEMATTRS_HTTP_ROUTE ] : route ,
169
+ [ ATTR_HTTP_ROUTE ] : route ,
170
170
} ;
171
171
172
172
const parent = api . context . active ( ) ;
You can’t perform that action at this time.
0 commit comments