prometheus/prompb
Tom Wilkie d3a1ff1abf
Reduce memory usage of remote read by reducing pointer usage. (#4655)
Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
2018-09-25 19:14:00 +01:00
..
README.md Add prompb/README (#4222) 2018-06-11 22:00:33 +01:00
remote.pb.go Add offset to selectParams (#4226) 2018-07-18 04:58:00 +01:00
remote.proto
rpc.pb.go Add offset to selectParams (#4226) 2018-07-18 04:58:00 +01:00
rpc.pb.gw.go Add offset to selectParams (#4226) 2018-07-18 04:58:00 +01:00
rpc.proto
types.pb.go Reduce memory usage of remote read by reducing pointer usage. (#4655) 2018-09-25 19:14:00 +01:00
types.proto Reduce memory usage of remote read by reducing pointer usage. (#4655) 2018-09-25 19:14:00 +01: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 ./scripts/genproto.sh from the parent dir.

In order for the script to run, you'll need protoc (version 3.5) in your PATH, and the following Go packages installed:

  • github.com/gogo/protobuf
  • github.com/gogo/protobuf/protoc-gen-gogofast
  • github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/
  • github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger
  • golang.org/x/tools/cmd/goimports