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.
This commit is contained in:
12
COMMIT.md
12
COMMIT.md
@@ -1,5 +1,9 @@
|
||||
feat(telemetry)!: promote to v1.0.0 — named shutdown errors per provider, Go 1.26
|
||||
feat(telemetry): add NewConsole — logz-backed OTel exporters for local dev (v1.1.0)
|
||||
|
||||
Label each provider shutdown failure with its signal name (trace/metric/log).
|
||||
Errors remain joined via errors.Join; individual causes still unwrappable.
|
||||
Go directive bumped from 1.25 to 1.26. API committed as stable.
|
||||
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.
|
||||
|
||||
Reference in New Issue
Block a user