Skip to content

Append OTEL trace_id to all events #152

Description

@MatteoJoliveau

Hi! We're looking to add a correlation ID to our logs to help us debug issues and collect information from Datadog. Since we are already using OpenTelemetry for tracing, we already have a correlation ID: the trace ID. Unfortunately, not all traces are present in DD, as we sample incoming spans. Appending the trace ID value to the log attributes would help us at least find related events across services and pods by querying for @trace_id:<value>, grouping them, and so on.

What do you think?

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions