Method: OpenTelemetry::SDK::Trace::Export::InMemorySpanExporter#initialize
- Defined in:
- lib/opentelemetry/sdk/trace/export/in_memory_span_exporter.rb
#initialize(recording: true) ⇒ Object
Returns a new instance of the OpenTelemetry::SDK::Trace::Export::InMemorySpanExporter.
42 43 44 45 46 47 |
# File 'lib/opentelemetry/sdk/trace/export/in_memory_span_exporter.rb', line 42 def initialize(recording: true) @finished_spans = [] @stopped = false @recording = recording @mutex = Mutex.new end |