lib/opentelemetry/sdk/trace/export/console_span_exporter.rb in opentelemetry-sdk-0.8.0 vs lib/opentelemetry/sdk/trace/export/console_span_exporter.rb in opentelemetry-sdk-0.9.0
- old
+ new
@@ -16,18 +16,18 @@
class ConsoleSpanExporter
def initialize
@stopped = false
end
- def export(spans)
+ def export(spans, timeout: nil)
return FAILURE if @stopped
Array(spans).each { |s| pp s }
SUCCESS
end
- def shutdown
+ def shutdown(timeout: nil)
@stopped = true
SUCCESS
end
end
end