prometheus/prompb
Thomas Jackson 92c6f0c92e Add offset to selectParams (#4226)
* Add Start/End to SelectParams
* Make remote read use the new selectParams for start/end

This commit will continue sending the start/end time of the remote read
query as the overarching promql time and the specific range of data that
the query is intersted in receiving a response to is now part of the
ReadHints (upstream discussion in #4226).

* Remove unused vendored code

The genproto.sh script was updated, but the code wasn't regenerated.
This simply removes the vendored deps that are no longer part of the
codegen output.

Signed-off-by: Thomas Jackson <jacksontj.89@gmail.com>
2018-07-18 04:58: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 Pass query hints down into remote read query proto (#4122) 2018-05-08 09:48:13 +01:00
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 api: add flag to skip head on snapshots 2018-03-08 13:07:12 +01:00
types.pb.go Add offset to selectParams (#4226) 2018-07-18 04:58:00 +01:00
types.proto Add offset to selectParams (#4226) 2018-07-18 04:58:00 +01: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 ./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