Skip to content

Commit ea8d015

Browse files
lym953claude
andauthored
feat: [SVLS-8493] rename durable function tags to use aws_lambda prefix (#757)
* feat: [SVLS-8493] rename durable function execution tags to use aws.lambda prefix Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * feat: [SVLS-8493] use aws_lambda prefix for durable function tags Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 63f81be commit ea8d015

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

datadog_lambda/durable.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ def extract_durable_function_tags(event):
4444

4545
execution_name, execution_id = parsed
4646
return {
47-
"durable_function_execution_name": execution_name,
48-
"durable_function_execution_id": execution_id,
47+
"aws_lambda.durable_function.execution_name": execution_name,
48+
"aws_lambda.durable_function.execution_id": execution_id,
4949
}
5050

5151

tests/test_durable.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ def test_extracts_tags_from_event_with_durable_execution_arn(self):
5656
self.assertEqual(
5757
result,
5858
{
59-
"durable_function_execution_name": "my-execution",
60-
"durable_function_execution_id": "550e8400-e29b-41d4-a716-446655440004",
59+
"aws_lambda.durable_function.execution_name": "my-execution",
60+
"aws_lambda.durable_function.execution_id": "550e8400-e29b-41d4-a716-446655440004",
6161
},
6262
)
6363

0 commit comments

Comments
 (0)