1
0
mirror of https://github.com/prometheus/docs.git synced 2026-02-05 15:45:27 +01:00

spec (histograms): Further clarify NHCB federation

Signed-off-by: beorn7 <beorn@grafana.com>
This commit is contained in:
beorn7
2025-10-08 16:42:01 +02:00
parent 9822c48708
commit 5b2f031e8a

View File

@@ -2371,11 +2371,14 @@ be possible, at least in principle, once native histograms are supported in
that format, but federation via protobuf is preferred for efficiency reasons
anyway.
NHCBs are rendered as classic histograms when exposed via the federation
TODO: Update once OM supports NH.
NHCBs are rendered as classic float histograms when exposed via the federation
endpoint. Scrapers have the option of converting them back to NHCBs or ingest
them as classic histograms. The latter could lead to naming collisions, though.
TODO: Update once OM supports NH.
Note that OpenMetrics v1 does not support classic float histograms.
Fortunately, Prometheus federation does not use OpenMetrics v1 anyway, but
either the protobuf format or the classic text format.
## OTLP