mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-09 23:24:05 -08:00
c58e20ad0e
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> |
||
---|---|---|
.. | ||
io/prometheus/client | ||
buf.lock | ||
buf.yaml | ||
custom.go | ||
README.md | ||
remote.pb.go | ||
remote.proto | ||
types.pb.go | ||
types.proto |
The compiled protobufs are version controlled and you won't normally need to re-compile them when building Prometheus.
If however you have modified the defs and do need to re-compile, run
make proto
from the parent dir.
In order for the script to run, you'll need protoc
(version 3.15.8) in
your PATH.