NewConsole bootstraps the OTel SDK with three logz-backed exporters: - Trace: WithSyncer, one log line per closed span (immediate, no batch) - Metric: PeriodicReader (60s), flushed on shutdown - OTel log: BatchProcessor, for third-party libs using OTel log API ConsoleConfig requires only ServiceName — no OTLP endpoint needed. Adds logz v1.0.1 as direct dependency; module tier bumped 1 → 2.
10 lines
485 B
Markdown
10 lines
485 B
Markdown
feat(telemetry): add NewConsole — logz-backed OTel exporters for local dev (v1.1.0)
|
|
|
|
NewConsole bootstraps the OTel SDK with three logz-backed exporters:
|
|
- Trace: WithSyncer, one log line per closed span (immediate, no batch)
|
|
- Metric: PeriodicReader (60s), flushed on shutdown
|
|
- OTel log: BatchProcessor, for third-party libs using OTel log API
|
|
|
|
ConsoleConfig requires only ServiceName — no OTLP endpoint needed.
|
|
Adds logz v1.0.1 as direct dependency; module tier bumped 1 → 2.
|