From c198d979e0ed72f4aeab45fe798ac2c1c8074b82 Mon Sep 17 00:00:00 2001 From: Yiming Luo <10097700+lym953@users.noreply.github.com> Date: Thu, 21 May 2026 13:22:25 -0400 Subject: [PATCH] refactor(traces): rename durable function span tags to aws.durable.* Aligns the `aws.lambda` span tag keys with the upstream tracer-side rename. The constant names are unchanged; only the emitted tag strings move from `aws_lambda.durable_function.*` to `aws.durable.*`. Co-Authored-By: Claude Opus 4.7 (1M context) --- bottlecap/src/tags/lambda/tags.rs | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/bottlecap/src/tags/lambda/tags.rs b/bottlecap/src/tags/lambda/tags.rs index d2cda134a..db053c44b 100644 --- a/bottlecap/src/tags/lambda/tags.rs +++ b/bottlecap/src/tags/lambda/tags.rs @@ -52,12 +52,10 @@ const ACCOUNT_ID_KEY: &str = "account_id"; // Span tag keys for durable function execution context pub const REQUEST_ID_KEY: &str = "request_id"; -pub const DURABLE_EXECUTION_ID_KEY: &str = "aws_lambda.durable_function.execution_id"; -pub const DURABLE_EXECUTION_NAME_KEY: &str = "aws_lambda.durable_function.execution_name"; -pub const DURABLE_FUNCTION_FIRST_INVOCATION_KEY: &str = - "aws_lambda.durable_function.first_invocation"; -pub const DURABLE_FUNCTION_EXECUTION_STATUS_KEY: &str = - "aws_lambda.durable_function.execution_status"; +pub const DURABLE_EXECUTION_ID_KEY: &str = "aws.durable.execution_id"; +pub const DURABLE_EXECUTION_NAME_KEY: &str = "aws.durable.execution_name"; +pub const DURABLE_FUNCTION_FIRST_INVOCATION_KEY: &str = "aws.durable.first_invocation"; +pub const DURABLE_FUNCTION_EXECUTION_STATUS_KEY: &str = "aws.durable.execution_status"; const AWS_ACCOUNT_KEY: &str = "aws_account"; const RESOURCE_KEY: &str = "resource";