Skip to content

Commit

Permalink
Updating spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
kaylareopelle committed Jul 10, 2024
1 parent 18507d1 commit 86a9337
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,13 @@ def wrapped_metric_exporters_from_env
begin
OpenTelemetry.meter_provider.add_metric_reader(OpenTelemetry::Exporter::OTLP::MetricsExporter.new)
rescue NameError
OpenTelemetry.logger.warn 'The otlp exporter cannot be configured - please add opentelemetry-exporter-otlp-metrics to your Gemfile, metrics will not be exported'
OpenTelemetry.logger.warn 'The otlp metrics exporter cannot be configured - please add ' \
'opentelemetry-exporter-otlp-metrics to your Gemfile, metrics will not be exported'
nil
end
else
OpenTelemetry.logger.warn "The #{exporter} exporter is unknown and cannot be configured, metrics will not be exported"
OpenTelemetry.logger.warn "The #{exporter} exporter is unknown and cannot be configured, " \
'metrics will not be exported'
nil
end
end
Expand Down

0 comments on commit 86a9337

Please sign in to comment.