2026-05-12 19:19:50 +00:00
|
|
|
feat(telemetry): add NewConsole — logz-backed OTel exporters for local dev (v1.1.0)
|
2026-05-12 18:25:21 +00:00
|
|
|
|
2026-05-12 19:19:50 +00:00
|
|
|
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.
|