File tree 1 file changed +4
-4
lines changed
lambda-runtime/src/layers
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
use std:: { fmt:: Display , future:: Future , pin:: Pin , task} ;
2
2
3
3
use crate :: LambdaInvocation ;
4
- use opentelemetry_semantic_conventions:: trace as traceconv ;
4
+ use opentelemetry_semantic_conventions:: attribute as attribute ;
5
5
use pin_project:: pin_project;
6
6
use tower:: { Layer , Service } ;
7
7
use tracing:: { field, instrument:: Instrumented , Instrument } ;
76
76
"Lambda function invocation" ,
77
77
"otel.name" = req. context. env_config. function_name,
78
78
"otel.kind" = field:: Empty ,
79
- { traceconv :: FAAS_TRIGGER } = & self . otel_attribute_trigger,
80
- { traceconv :: FAAS_INVOCATION_ID } = req. context. request_id,
81
- { traceconv :: FAAS_COLDSTART } = self . coldstart
79
+ { attribute :: FAAS_TRIGGER } = & self . otel_attribute_trigger,
80
+ { attribute :: FAAS_INVOCATION_ID } = req. context. request_id,
81
+ { attribute :: FAAS_COLDSTART } = self . coldstart
82
82
) ;
83
83
84
84
// After the first execution, we can set 'coldstart' to false
You can’t perform that action at this time.
0 commit comments