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.
538
539
540
541
542
543
544
545
|
# File 'lib/foam/otel/ingest.rb', line 538
def initialize(inner, stamp, config)
@inner = inner
@stamp = stamp
@config = config
@merged = {}.compare_by_identity
end
|
Instance Method Details
#force_flush(timeout: nil) ⇒ Object
547
|
# File 'lib/foam/otel/ingest.rb', line 547
def force_flush(timeout: nil) = @inner.force_flush(timeout: timeout)
|
#reset ⇒ Object
550
551
552
|
# File 'lib/foam/otel/ingest.rb', line 550
def reset
@inner.reset if @inner.respond_to?(:reset)
end
|
#shutdown(timeout: nil) ⇒ Object
548
|
# File 'lib/foam/otel/ingest.rb', line 548
def shutdown(timeout: nil) = @inner.shutdown(timeout: timeout)
|