The Prometheus monitoring system and time series database.
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.
 
 
 
 
 
Tom Wilkie d3a1ff1abf
Reduce memory usage of remote read by reducing pointer usage. (#4655)
6 years ago
..
README.md
remote.pb.go Add offset to selectParams (#4226) 6 years ago
remote.proto
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
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