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

Logs feedback #1777

Open
kaylareopelle opened this issue Dec 5, 2024 · 3 comments
Open

Logs feedback #1777

kaylareopelle opened this issue Dec 5, 2024 · 3 comments
Labels

Comments

@kaylareopelle
Copy link
Contributor

We want your feedback on our new gems related to the Logs signal!

  • opentelemetry-logs-sdk
  • opentelemetry-logs-api
  • opentelemetry-exporter-otlp-logs

Understanding how these libraries are used by the community will help us prioritize future work on Logs.

@adenta
Copy link

adenta commented Jan 1, 2025

something funky is going on w/ the 0.1.0 gem version that is on rubygems:

➜  cardstock git:(main) ✗ bundle install                                         
Fetching gem metadata from https://rubygems.org/.........
Resolving dependencies...
Downloading opentelemetry-exporter-otlp-logs-0.1.0 revealed dependencies not in the API or the lockfile (opentelemetry-logs-api
(~> 0.1), opentelemetry-logs-sdk (~> 0.1)).
Running `bundle update opentelemetry-exporter-otlp-logs` should fix the problem.
➜  cardstock git:(main) ✗ bundle update opentelemetry-exporter-otlp-logs         
Could not find gem 'opentelemetry-exporter-otlp-logs'.

@adenta
Copy link

adenta commented Jan 1, 2025

I was able to get otel logs integrated with rails. Am I the first to do this? Should I document somewhere?

@iancoralogix
Copy link

iancoralogix commented Jan 25, 2025

@adenta, I'm having the same issue. I inadvertently solved it locally at some point, but after clearing my gems, I'm having the same problem again.

It appears to be RubyGems; I can gem install opentelemetry-exporter-otlp-logs but bundle install only works if I point directly to GitHub in my Gemfile:

# Pull logs API from the logs_api folder
gem 'opentelemetry-logs-api',
    git: 'https://github.com/open-telemetry/opentelemetry-ruby.git',
    branch: 'main',
    glob: 'logs_api/*.gemspec'

# Pull logs SDK from the logs_sdk folder
gem 'opentelemetry-logs-sdk',
    git: 'https://github.com/open-telemetry/opentelemetry-ruby.git',
    branch: 'main',
    glob: 'logs_sdk/*.gemspec'

# Pull the OTLP logs exporter from the exporter/otlp-logs folder
gem 'opentelemetry-exporter-otlp-logs',
    git: 'https://github.com/open-telemetry/opentelemetry-ruby.git',
    branch: 'main',
    glob: 'exporter/otlp-logs/*.gemspec'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

No branches or pull requests

3 participants