prometheus/prompb
Charles Korn 0a1de58f7e
Mark Histogram.(Positive|Negative)Spans as non-nullable.
As far as I understand it, we'd never expect to receive a nil span,
and remote.spansProtoToSpans would panic if we received a nil span.

Marking the fields as non-nullable also means the generated Golang
code doesn't use pointers for these fields, reducing allocations.

Signed-off-by: Charles Korn <charles.korn@grafana.com>
2023-02-03 13:49:22 +11:00
..
io/prometheus/client prompb: Add note about experimental state of native histograms 2022-10-11 14:08:40 +02:00
buf.lock add support for buf (#10112) 2022-02-16 18:30:10 +01:00
buf.yaml prompb: add lint ignores for metrics.proto 2022-06-14 13:47:09 +02:00
custom.go remote/read_handler: pool input to Marshal() (#11357) 2022-11-15 16:29:16 +01:00
README.md update the protoc version to 3.12.3 in readme.md (#7931) 2020-09-14 09:08:27 +01:00
remote.pb.go prompb: Add histograms to remote write/read protobufs 2022-06-29 18:01:12 +02:00
remote.proto prompb: Add histograms to remote write/read protobufs 2022-06-29 18:01:12 +02:00
types.pb.go Mark Histogram.(Positive|Negative)Spans as non-nullable. 2023-02-03 13:49:22 +11:00
types.proto Mark Histogram.(Positive|Negative)Spans as non-nullable. 2023-02-03 13:49:22 +11:00

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.12.3) in your PATH.