You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
prometheus/prompb
Tom Wilkie d3a1ff1abf
Reduce memory usage of remote read by reducing pointer usage. (#4655)
6 years ago
..
README.md Add prompb/README (#4222) 7 years ago
remote.pb.go Add offset to selectParams (#4226) 6 years ago
remote.proto Pass query hints down into remote read query proto (#4122) 7 years ago
rpc.pb.go Add offset to selectParams (#4226) 6 years ago
rpc.pb.gw.go Add offset to selectParams (#4226) 6 years ago
rpc.proto api: add flag to skip head on snapshots 7 years ago
types.pb.go Reduce memory usage of remote read by reducing pointer usage. (#4655) 6 years ago
types.proto Reduce memory usage of remote read by reducing pointer usage. (#4655) 6 years ago

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