Method: OpenTelemetry::SDK::Trace::Export::InMemorySpanExporter#reset
- Defined in:
- lib/opentelemetry/sdk/trace/export/in_memory_span_exporter.rb
#reset ⇒ Object
Clears the internal collection of finished Spans.
Does not reset the state of this exporter if already shutdown.
62 63 64 65 66 |
# File 'lib/opentelemetry/sdk/trace/export/in_memory_span_exporter.rb', line 62 def reset @mutex.synchronize do @finished_spans.clear end end |