lib/opentelemetry/sdk/trace/export/noop_span_exporter.rb in opentelemetry-sdk-0.4.0 vs lib/opentelemetry/sdk/trace/export/noop_span_exporter.rb in opentelemetry-sdk-0.5.0
- old
+ new
@@ -25,10 +25,10 @@
# exported.
# @return [Integer] the result of the export.
def export(spans)
return SUCCESS unless @stopped
- FAILED_NOT_RETRYABLE
+ FAILURE
end
# Called when {TracerProvider#shutdown} is called, if this exporter is
# registered to a {TracerProvider} object.
def shutdown