mirror of
https://github.com/prometheus/prometheus.git
synced 2025-08-06 06:07:11 +02:00
Ref: https://github.com/prometheus/prometheus/issues/15021 Also modified spansToSpansProto to not allocate empty bucket spans array when converting internal model to remote write model. Otherwise the test TestDecodeWriteV2Request fails since empty array is marshaled/unmarshaled as nil so we don't get back the exact same thing. Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com> |
||
---|---|---|
.. | ||
io/prometheus | ||
rwcommon | ||
buf.gen.yaml | ||
buf.lock | ||
buf.yaml | ||
codec.go | ||
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.