Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft: Logs SDK, OTLP exporter #6

Draft
wants to merge 136 commits into
base: main
Choose a base branch
from
Draft

Conversation

kaylareopelle
Copy link
Owner

@kaylareopelle kaylareopelle commented Oct 9, 2023

This PR contains an implementation of the OpenTelemetry Logs SDK and an OTLP exporter for Ruby. This implementation awaits review and approval from OTel Ruby maintainers/approvers.

The commits in this PR will be cherry-picked to become smaller PRs to keep this work easy to review.
Current PR under consideration: open-telemetry#1611

OpenTelemetry Logs SDK Specification
OpenTelemetry Spec Compliance Matrix - Logs
OpenTelemetry Ruby Logs Project Board

@@ -28,7 +28,11 @@ module OpenTelemetry

# @return [Object, Logger] configured Logger or a default STDOUT Logger.
def logger
@logger ||= Logger.new($stdout, level: ENV['OTEL_LOG_LEVEL'] || Logger::INFO)
@logger ||= create_logger
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These changes are directly related to the Logs instrumentation. They need a PR when the logs instrumentation is ready for review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant