mirror of https://github.com/prometheus/prometheus
Browse Source
Native histograms without observations and with a zero threshold of zero look the same as classic histograms in the protobuf exposition format. According to https://github.com/prometheus/client_golang/issues/1127 , the idea is to add a no-op span to those histograms to mark them as native histograms. This commit enables Prometheus to detect that no-op span and adds a doc comment to the proto spec describing the behavior. Signed-off-by: beorn7 <beorn@grafana.com>pull/12584/head
beorn7
1 year ago
4 changed files with 69 additions and 15 deletions
Loading…
Reference in new issue