Skip to content

Log events should have trace/span-related metadata #1976

@jvz

Description

@jvz
Member

This idea is also related to a more general idea of supporting the OpenTelemetry log data model, though the idea here would be to make standard log event attributes for trace context metadata like the trace id, span id, and flags. This would make it easier for observability libraries to integrate with Log4j without having to store data in ThreadContext and all the performance overhead that implies.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    apiAffects the public API

    Type

    No type

    Projects

    Status

    To triage

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @jvz

        Issue actions

          Log events should have trace/span-related metadata · Issue #1976 · apache/logging-log4j2