Skip to content

Commit 2ea88f9

Browse files
committed
chore: changeset
1 parent d2d23b2 commit 2ea88f9

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
default: minor
3+
---
4+
5+
# Add trace_id to log output for distributed trace correlation
6+
7+
Log lines emitted within an OpenTelemetry-traced span now include a `trace_id=<hex>` prefix, allowing operators to correlate logs with distributed traces in observability tools such as Jaeger and Grafana. For HTTP requests carrying a `traceparent` header the propagated trace ID is used; otherwise a new trace ID is generated automatically. Startup messages and other events outside a span are unaffected.

0 commit comments

Comments
 (0)