Skip to content

Commit

Permalink
chore: Update MetricsExporter class in example
Browse files Browse the repository at this point in the history
Now, there's an extra Metrics:: namespace
  • Loading branch information
kaylareopelle committed Aug 1, 2024
1 parent 74d3147 commit f64b41b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/metrics_sdk/metrics_collect_otlp.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

OpenTelemetry::SDK.configure

otlp_metric_exporter = OpenTelemetry::Exporter::OTLP::MetricsExporter.new
otlp_metric_exporter = OpenTelemetry::Exporter::OTLP::Metrics::MetricsExporter.new

OpenTelemetry.meter_provider.add_metric_reader(otlp_metric_exporter)

Expand Down

0 comments on commit f64b41b

Please sign in to comment.