From e4377ffc6264479106549ae21edd63ec42280171 Mon Sep 17 00:00:00 2001 From: Aaron Hill Date: Wed, 11 Feb 2026 14:13:50 -0500 Subject: [PATCH] Record 'outcome' field in 'durable.worker.execute_task' span --- src/worker.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/worker.rs b/src/worker.rs index 2fa7695..1da7e58 100644 --- a/src/worker.rs +++ b/src/worker.rs @@ -253,6 +253,7 @@ impl Worker { attempt = task.attempt, // This makes things render nicely on AWS X-Ray when propagating trace contexts. otel.kind = "server", + outcome = tracing::field::Empty, ); // Extract and set parent trace context from headers (for distributed tracing) @@ -541,6 +542,7 @@ impl Worker { outcome, duration, ); + Span::current().record("outcome", outcome); } }