kubo/cmd
Marcin Rataj a431c39d7b fix: drop high-cardinality server.address from http_server metrics (#11208)
otelhttp derives server.address from the Host header, which creates
a unique time series for every subdomain hostname on public gateways
(e.g. each CID.ipfs.dweb.link). this caused multi-gigabyte prometheus
responses and scrape timeouts.

- cmd/ipfs/kubo/daemon.go: add OTel SDK View that drops server.address
  from all http.server.* metrics at the MeterProvider level
- core/corehttp/gateway.go: add server.domain attribute to Gateway and
  HostnameGateway handlers, grouping by Gateway.PublicGateways suffix
  (e.g. "dweb.link"), with "localhost", "loopback", or "other" fallbacks
- core/corehttp/commands.go: add server.domain="api" to RPC handler
- core/corehttp/gateway.go: add server.domain="libp2p" to libp2p handler
- docs/changelogs/v0.40.md: add changelog highlight
- docs/metrics.md: document server_domain label and server_address drop

(cherry picked from commit 6a082f60b1)
2026-02-25 00:33:27 +01:00
..
ipfs fix: drop high-cardinality server.address from http_server metrics (#11208) 2026-02-25 00:33:27 +01:00
ipfswatch chore: upgrade go-ds-pebble to v0.5.9 (#11170) 2026-01-22 23:38:59 -08:00