mirror of
https://github.com/ipfs/kubo.git
synced 2026-03-11 03:09:41 +08:00
* fix: disable otel exemplars to prevent prometheus rune overflow
the OTel SDK View from #11208 drops server.address from http.server.*
metric labels, but the OTel spec requires filtered attributes to be
carried as exemplar FilteredAttributes. on subdomain gateways the
server.address value (e.g. "CID.ipfs.dweb.link") combined with
trace_id and span_id exceeds the 128-rune prometheus exemplar limit.
- cmd/ipfs/kubo/daemon.go: add exemplar.AlwaysOffFilter to MeterProvider
- docs/changelogs/v0.40.md: document exemplar disable in metrics section
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| ipfs | ||
| ipfswatch | ||