@namzu/telemetry
v2.2.0
Published
OpenTelemetry exporter pipeline for @namzu/sdk — OTLP traces + metrics, resource attributes, platform metrics. Extracted from @namzu/sdk so consumers who never emit telemetry don't transitively install the OTEL Node SDK.
Readme
OpenTelemetry traces, metrics and session export for Namzu.
Install · Usage · Documentation
The kernel emits spans and metrics through the OpenTelemetry API and exports nothing on its own. This package is the exporter side: register it once and the runtime's existing instrumentation starts reaching a collector.
Install
pnpm add @namzu/sdk @namzu/telemetry@namzu/sdk is a peer dependency. Install both.
Usage
import { registerTelemetry } from '@namzu/telemetry'
await registerTelemetry({
serviceName: 'my-agent-host',
exporterType: 'otlp',
otlpEndpoint: 'http://localhost:4318',
})Documentation
License
FSL-1.1-MIT, converting to MIT two years after each release.
