Skip to content

Add trace_id to logs to support trace <> log integration #8164

@jimmygchen

Description

@jimmygchen

Description

To support trace <> logs integration in observability stacks, we need a field in the logs to link the logs to traces.

This will increase the size of the logs, and we should only enable this when opentelemetry is enabled via --opentelemetry-collector-url.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions