Module: Foam
- Defined in:
- lib/foam/otel/ingest_metric_reader.rb,
lib/foam/otel/api.rb,
lib/foam/otel/init.rb,
lib/foam/otel/config.rb,
lib/foam/otel/errors.rb,
lib/foam/otel/ingest.rb,
lib/foam/otel/metrics.rb,
lib/foam/otel/version.rb,
lib/foam/otel/instance.rb,
lib/foam/otel/resource.rb,
lib/foam/otel/constants.rb,
lib/foam/otel/pipelines.rb,
lib/foam/otel/redaction.rb,
lib/foam/otel/classifier.rb,
lib/foam/otel/fork_hooks.rb,
lib/foam/otel/diagnostics.rb,
lib/foam/otel/redacting_exporter.rb
Overview
The door-2 metrics tap. Required LAZILY by the ingest factory AFTER require_sdk! (rule 41): the superclass constant only exists once the metrics SDK is loaded.
SUBCLASSING (flagged deviation, fleet-accepted): composition is preferred
everywhere else, but MeterProvider#add_metric_reader requires the
metric_store seam (meter_provider.rb registers every instrument with the
reader's store — including BACK-FILLING instruments created before attach,
meter.rb) and the periodic ticker thread + after_fork machinery is exactly
what the tap must inherit (periodic_metric_reader.rb). This is an alpha-SDK
behavioral reliance, capped by the gemspec range and pinned by tests
(GOTCHAS R5/R6).
Defined Under Namespace
Modules: Otel