kubo/cmd/ipfs
Marcin Rataj f55bbdd539 fix(metrics): disable otel exemplars to prevent rune overflow (#11211)
* 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 221741ee20)
2026-02-25 17:44:56 +01:00
..
dist docs: updated links and refs to external resources (#10368) 2024-03-16 00:59:22 +01:00
kubo fix(metrics): disable otel exemplars to prevent rune overflow (#11211) 2026-02-25 17:44:56 +01:00
util refactor: apply go fix modernizers from Go 1.26 (#11190) 2026-02-11 01:01:32 +01:00
.gitignore make: rework makefiles for non-recursive make and add sharness coverage 2017-02-12 01:18:40 +01:00
main.go feat: cmd/ipfs: Make it possible to depend on cmd/ipfs 2023-12-19 16:23:53 -05:00
Rules.mk fix(version): produce shorter user agent for tagged release builds 2026-02-20 18:21:31 +01:00
runmain_test.go refactor(ci): optimize build workflows (#10973) 2025-09-19 14:44:38 +02:00