Class: Foam::Otel::Ingest::StampExporter
- Inherits:
-
Object
- Object
- Foam::Otel::Ingest::StampExporter
show all
- Defined in:
- lib/foam/otel/ingest.rb
Overview
---- stamp exporters (identity merge on foam's copy, at export
encoding time — spec door-2 block: merged AT SERIALIZATION in foam's
exporter, never onto the shared object) -------------------------------
Instance Method Summary
collapse
Constructor Details
#initialize(inner, stamp, config) ⇒ StampExporter
Returns a new instance of StampExporter.
553
554
555
556
557
558
559
560
|
# File 'lib/foam/otel/ingest.rb', line 553
def initialize(inner, stamp, config)
@inner = inner
@stamp = stamp
@config = config
@merged = {}.compare_by_identity
end
|
Instance Method Details
#force_flush(timeout: nil) ⇒ Object
562
|
# File 'lib/foam/otel/ingest.rb', line 562
def force_flush(timeout: nil) = @inner.force_flush(timeout: timeout)
|
#reset ⇒ Object
565
566
567
|
# File 'lib/foam/otel/ingest.rb', line 565
def reset
@inner.reset if @inner.respond_to?(:reset)
end
|
#shutdown(timeout: nil) ⇒ Object
563
|
# File 'lib/foam/otel/ingest.rb', line 563
def shutdown(timeout: nil) = @inner.shutdown(timeout: timeout)
|