Skip to content

[service] logs emitted by collector don't follow severity #11717

Closed
@codeboten

Description

@codeboten

The collector supports emitting its internal logs via OTLP. After testing this functionality, it appears that logs of all severities are emitted via the logger provider configured. This is because the otelzap bridge doesn't have a configuration for severity level. This requires a separate processor (minsev) which is currently not supported by the otel configuration schema.

I will submit a pull request that proposes wrapping the Tee'd zap core into another zap core that will apply the filtering before logs are sent to the logger provider.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions