8000 Downcase function arn in trace metadata · DataDog/datadog-lambda-python@ec425f6 · GitHub
[go: up one dir, main page]

Skip to content

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

8000
Appearance settings

Commit ec425f6

Browse files
committed
Downcase function arn in trace metadata
1 parent 9b62ced commit ec425f6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

datadog_lambda/tracing.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,9 +238,10 @@ def create_function_execution_span(
238238
):
239239
tags = {}
240240
if context:
241+
function_arn = (context.invoked_function_arn or "").lower()
241242
tags = {
242243
"cold_start": str(is_cold_start).lower(),
243-
"function_arn": context.invoked_function_arn,
244+
"function_arn": function_arn,
244245
"request_id": context.aws_request_id,
245246
"resource_names": context.function_name,
246247
}

0 commit comments

Comments
 (0)
0