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.
521
522
523
524
525
526
527
528
|
# File 'lib/foam/otel/ingest.rb', line 521
def initialize(inner, stamp, config)
@inner = inner
@stamp = stamp
@config = config
@merged = {}.compare_by_identity
end
|
Instance Method Details
#force_flush(timeout: nil) ⇒ Object
530
|
# File 'lib/foam/otel/ingest.rb', line 530
def force_flush(timeout: nil) = @inner.force_flush(timeout: timeout)
|
#reset ⇒ Object
533
534
535
|
# File 'lib/foam/otel/ingest.rb', line 533
def reset
@inner.reset if @inner.respond_to?(:reset)
end
|
#shutdown(timeout: nil) ⇒ Object
531
|
# File 'lib/foam/otel/ingest.rb', line 531
def shutdown(timeout: nil) = @inner.shutdown(timeout: timeout)
|