prometheus/prompb
Björn Rabenstein df3b674f01
Add metrics.proto to other protobuf code (#8996)
We cannot just use prometheus/client_model directly because we want to
stay consistent with the use of gogo-protobuf. So this converts
metrics.proto to proto3 and edits it lightly so that it fits into
the framework how prometheus/prometheus handles protobuf.

Note that metrics.proto couldn't be merged into the prompb package
because prompb already has an Exemplar type, which is different from
the Exemplar type in metrics.proto. The directory structure seems to
play a role in the protobuf world, so I better kept it.

Signed-off-by: beorn7 <beorn@grafana.com>
2021-06-28 11:16:06 +01:00
..
io/prometheus/client Add metrics.proto to other protobuf code (#8996) 2021-06-28 11:16:06 +01:00
README.md update the protoc version to 3.12.3 in readme.md (#7931) 2020-09-14 09:08:27 +01:00
custom.go
remote.pb.go Update github.com/gogo/protobuf to v1.3.2 2021-02-08 17:30:46 +01:00
remote.proto Allow metric metadata to be propagated via Remote Write. (#6815) 2020-11-19 20:53:03 +05:30
types.pb.go Add Exemplar Remote Write support (#8296) 2021-05-06 13:53:52 -07:00
types.proto Add Exemplar Remote Write support (#8296) 2021-05-06 13:53:52 -07:00

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