File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " datadog-lambda-js" ,
3
- "version" : " 2.21 .0" ,
3
+ "version" : " 2.22 .0" ,
4
4
"description" : " Lambda client library that supports hybrid tracing in node js" ,
5
5
"main" : " dist/index.js" ,
6
6
"types" : " dist/index.d.ts" ,
Original file line number Diff line number Diff line change @@ -89,9 +89,10 @@ export class TraceListener {
89
89
const options : TraceOptions = { } ;
90
90
if ( this . context ) {
91
91
logDebug ( "Applying lambda context to datadog traces" ) ;
92
+ const functionArn = ( this . context . invokedFunctionArn ?? "" ) . toLowerCase ( ) ;
92
93
options . tags = {
93
94
cold_start : didFunctionColdStart ( ) ,
94
- function_arn : this . context . invokedFunctionArn ,
95
+ function_arn : functionArn ,
95
96
request_id : this . context . awsRequestId ,
96
97
resource_names : this . context . functionName ,
97
98
} ;
You can’t perform that action at this time.
0 commit comments