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 | ||
README.md | ||
buf.lock | ||
buf.yaml | ||
custom.go | ||
remote.pb.go | ||
remote.proto | ||
types.pb.go | ||
types.proto |
README.md
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.