File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
lambda-runtime/src/layers Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 11use std:: { fmt:: Display , future:: Future , pin:: Pin , task} ;
22
33use crate :: LambdaInvocation ;
4- use opentelemetry_semantic_conventions:: trace as traceconv ;
4+ use opentelemetry_semantic_conventions:: attribute as attribute ;
55use pin_project:: pin_project;
66use tower:: { Layer , Service } ;
77use tracing:: { field, instrument:: Instrumented , Instrument } ;
7676 "Lambda function invocation" ,
7777 "otel.name" = req. context. env_config. function_name,
7878 "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
8282 ) ;
8383
8484 // After the first execution, we can set 'coldstart' to false
You can’t perform that action at this time.
0 commit comments