lib/opentelemetry/sdk/trace/export/noop_span_exporter.rb in opentelemetry-sdk-0.2.0 vs lib/opentelemetry/sdk/trace/export/noop_span_exporter.rb in opentelemetry-sdk-0.3.0

- old
+ new

@@ -10,11 +10,11 @@ module Export # A noop exporter that demonstrates and documents the SpanExporter # duck type. SpanExporter allows different tracing services to export # recorded data for sampled spans in their own format. # - # To export data an exporter MUST be registered to the {TracerFactory} using + # To export data an exporter MUST be registered to the {TracerProvider} using # a {SimpleSpanProcessor} or a {BatchSpanProcessor}. class NoopSpanExporter def initialize @stopped = false end @@ -28,11 +28,11 @@ return SUCCESS unless @stopped FAILED_NOT_RETRYABLE end - # Called when {TracerFactory#shutdown} is called, if this exporter is - # registered to a {TracerFactory} object. + # Called when {TracerProvider#shutdown} is called, if this exporter is + # registered to a {TracerProvider} object. def shutdown @stopped = true end end end