@open-infra/telemetry-exporters
v0.2.0
Published
Policy-enforcing OpenTelemetry trace, log, and metric exporter wrappers.
Maintainers
Readme
@open-infra/telemetry-exporters
Final privacy and consent checks around OpenTelemetry exporters.
Install
npm install @open-infra/telemetry-exportersES modules with TypeScript declarations. Node.js 20.11 or newer; browser bindings require a browser bundler. Use synchronized versions of the OpenInfra telemetry packages.
Usage
PolicySpanExporter, PolicyLogExporter, and PolicyMetricExporter sanitize records before delegating to an existing exporter and record outcomes. Let the browser/server runtime construct these wrappers for normal application use.
Lifecycle and limits
Application runtimes own startup, consent, batching, and shutdown. Queues are bounded and can drop records under pressure. Framework adapters enrich existing spans rather than creating a second request span or provider. Keep browser gateway credentials on the server.
Getting started · Operations · Delivery semantics
Apache-2.0.
