prometheus/prompb
Bartlomiej Plotka 0eae349b78
prw2.0: Added support for "custom" layouts for native histogram proto (#13558)
* prw2.0: Added support for "custom" layouts for native histogram.

Result of the discussions:
* https://github.com/prometheus/prometheus/issues/13475#issuecomment-1931496924
* https://cloud-native.slack.com/archives/C02KR205UMU/p1707301006347199

Signed-off-by: bwplotka <bwplotka@gmail.com>

* prw2.0: Added support for "custom" layouts for native histogram.

Result of the discussions:
* https://github.com/prometheus/prometheus/issues/13475#issuecomment-1931496924
* https://cloud-native.slack.com/archives/C02KR205UMU/p1707301006347199

Signed-off-by: bwplotka <bwplotka@gmail.com>

# Conflicts:
#	prompb/write/v2/types.pb.go

* Update prompb/write/v2/types.proto

Co-authored-by: George Krajcsovits <krajorama@users.noreply.github.com>
Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>

* Addressed comments, fixed test.

Signed-off-by: bwplotka <bwplotka@gmail.com>

---------

Signed-off-by: bwplotka <bwplotka@gmail.com>
Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
Co-authored-by: George Krajcsovits <krajorama@users.noreply.github.com>
2024-03-14 13:47:25 +00:00
..
io/prometheus/client remote write 2.0: sync with main branch (#13510) 2024-02-02 10:38:50 -08:00
write/v2 prw2.0: Added support for "custom" layouts for native histogram proto (#13558) 2024-03-14 13:47:25 +00: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 rename new proto types and move to separate pkg 2023-12-21 11:40:36 -03:00
README.md Update prompb/README.md 2023-04-26 12:57:20 +03:00
remote.pb.go rename new proto types and move to separate pkg 2023-12-21 11:40:36 -03:00
remote.proto rename new proto types and move to separate pkg 2023-12-21 11:40:36 -03:00
types.pb.go remove old MinSample proto message 2023-12-28 12:28:36 -03:00
types.proto remove old MinSample proto message 2023-12-28 12:28:36 -03: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.15.8) in your PATH.