prometheus/prompb
beorn7 c58e20ad0e histogram: Identify native histograms even without observations
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>
2023-07-26 17:42:30 +02:00
..
io/prometheus/client histogram: Identify native histograms even without observations 2023-07-26 17:42:30 +02:00
buf.lock
buf.yaml prompb: add lint ignores for metrics.proto 2022-06-14 13:47:09 +02:00
custom.go
README.md Update prompb/README.md 2023-04-26 12:57:20 +03:00
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.