Skip to content

Add instrumentation for Ruby Logger leveraging Log Records #668

Open
@kaylareopelle

Description

@kaylareopelle

The opentelemetry-ruby repo has WIP logs signal support. Leveraging this work, add instrumentation for Ruby's Logger library to create Log Records whenever Ruby's logger emits a log.

Example from New Relic: https://github.com/newrelic/newrelic-ruby-agent/blob/dev/lib/new_relic/agent/instrumentation/logger/instrumentation.rb

This should include the ability to exclude certain loggers from instrumentation. If we instrument Ruby's logger, we may want to exclude ActiveSupport Logger to prevent double recording, as seen in New Relic's instrumentation.

Metadata

Metadata

Assignees

Labels

keepEnsures stale-bot keeps this issue/PR open

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions