Skip to content

Logback appender must send timestamp in nanoseconds if available #11807

@jjoslet

Description

@jjoslet

Is your feature request related to a problem? Please describe.

The timestamp is exported in milliseconds precision by the OpenTelemetryAppender which lead to trouble to sort logs at a central level.

Describe the solution you'd like

Export timestamps in nanoseconds in the LoggingEventMapper using the Instant captured by Logback in the ILoggingEvent.

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestneeds triageNew issue that requires triage

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions