Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions datadog_lambda/durable.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@ def extract_durable_function_tags(event):

execution_name, execution_id = parsed
return {
"durable_function_execution_name": execution_name,
"durable_function_execution_id": execution_id,
"aws_lambda.durable_function.execution_name": execution_name,
"aws_lambda.durable_function.execution_id": execution_id,
}
4 changes: 2 additions & 2 deletions tests/test_durable.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ def test_extracts_tags_from_event_with_durable_execution_arn(self):
self.assertEqual(
result,
{
"durable_function_execution_name": "my-execution",
"durable_function_execution_id": "550e8400-e29b-41d4-a716-446655440004",
"aws_lambda.durable_function.execution_name": "my-execution",
"aws_lambda.durable_function.execution_id": "550e8400-e29b-41d4-a716-446655440004",
},
)

Expand Down
Loading