A thin, safe wrapper over the official OpenTelemetry libraries: foam owns the pipeline (providers, batch processors, OTLP export to the foam fleet endpoint, opt-in key-list redaction — zero redaction by default), turns on automatic tier-1/2 instrumentation, and ships a small set of never-throw helpers. Configure with Foam::Otel.init(name:, environment:, enabled:, token:); the ingest token is passed EXPLICITLY — the fleet convention is to read it from the FOAM_OTEL_TOKEN environment variable and hand it to init. The gem never reads the token (or any config) from the environment itself. Built to docs/BASE_PACKAGE_SPEC.md; full usage in the README (shown on the source page and on rubydoc.info, not on the RubyGems gem page).
Required Ruby Version
>= 3.4
Authors
Foam
Versions
- 2.1.1 July 30, 2026 (188 KB)
- 2.1.0 July 30, 2026 (187 KB)
- 2.0.0 July 30, 2026 (178 KB)
- 1.9.1 July 29, 2026 (178 KB)
- 1.9.0 July 29, 2026 (177 KB)