Skip to content

Correct instrumentation scope for logger #2357

@thompson-tomo

Description

@thompson-tomo

Within the logger logger-bridge, we have the following block:


OpenTelemetry.logger_provider.logger(
                name: OpenTelemetry::Instrumentation::Logger::NAME,
                version: OpenTelemetry::Instrumentation::Logger::VERSION
              )

Which is resulting in the instrumentation scope being that of the bridge rather than the instrumentation. Based on, the bridge should be captured as attributes.

See spec issue where it is explained the handling of the bridge name etc.

Metadata

Metadata

Assignees

No one assigned

    Type

    No fields configured for Task.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions