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

Metrics otlp exporter sample broken #1797

Open
KieranP opened this issue Jan 22, 2025 · 0 comments
Open

Metrics otlp exporter sample broken #1797

KieranP opened this issue Jan 22, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@KieranP
Copy link

KieranP commented Jan 22, 2025

Description of the bug

Using metrics otlp exporter sample (https://github.com/open-telemetry/opentelemetry-ruby/blob/main/examples/metrics_sdk/metrics_collect_otlp.rb#L33) fails with:

undefined method `pull' for an instance of OpenTelemetry::SDK::Metrics::Export::PeriodicMetricReader

Share details about your runtime

Operating system details: Mac
RUBY_ENGINE: "ruby"
RUBY_VERSION: "3.3.6"
RUBY_DESCRIPTION: "ruby 3.3.6 (2024-11-05 revision 75015d4c1f) [arm64-darwin24]"

opentelemetry-api (1.4.0)
opentelemetry-common (0.21.0)
opentelemetry-exporter-otlp (0.29.1)
opentelemetry-exporter-otlp-metrics (0.3.0)
opentelemetry-metrics-api (0.2.0)
opentelemetry-metrics-sdk (0.5.0)
opentelemetry-registry (0.3.1)
opentelemetry-sdk (1.6.0)
opentelemetry-semantic_conventions (1.10.1)
@KieranP KieranP added the bug Something isn't working label Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant