lib/opentelemetry/sdk/configurator.rb in opentelemetry-sdk-0.15.0 vs lib/opentelemetry/sdk/configurator.rb in opentelemetry-sdk-0.16.0
- old
+ new
@@ -152,9 +152,10 @@
case exporter
when 'none' then nil
when 'otlp' then fetch_exporter(exporter, 'OpenTelemetry::Exporter::OTLP::Exporter')
when 'jaeger' then fetch_exporter(exporter, 'OpenTelemetry::Exporter::Jaeger::CollectorExporter')
when 'zipkin' then fetch_exporter(exporter, 'OpenTelemetry::Exporter::Zipkin::Exporter')
+ when 'console' then Trace::Export::SimpleSpanProcessor.new(Trace::Export::ConsoleSpanExporter.new)
else
OpenTelemetry.logger.warn "The #{exporter} exporter is unknown and cannot be configured, spans will not be exported"
nil
end
end