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 {
2222 InstrumentationNodeModuleFile ,
2323 isWrapped ,
2424} from '@opentelemetry/instrumentation' ;
25- import { SEMATTRS_HTTP_ROUTE } from '@opentelemetry/semantic-conventions' ;
25+ import { ATTR_HTTP_ROUTE } from '@opentelemetry/semantic-conventions' ;
2626
2727import * as http from 'http' ;
2828import type * as Router from 'router' ;
@@ -166,7 +166,7 @@ export class RouterInstrumentation extends InstrumentationBase {
166166 [ AttributeNames . NAME ] : fnName ,
167167 [ AttributeNames . VERSION ] : this . _moduleVersion ,
168168 [ AttributeNames . TYPE ] : type ,
169- [ SEMATTRS_HTTP_ROUTE ] : route ,
169+ [ ATTR_HTTP_ROUTE ] : route ,
170170 } ;
171171
172172 const parent = api . context . active ( ) ;
You can’t perform that action at this time.
0 commit comments