From a3ddde08001fcbea22275744ac6b824de204b736 Mon Sep 17 00:00:00 2001 From: Henri DF Date: Mon, 11 Jun 2018 14:00:33 -0700 Subject: [PATCH] Add prompb/README (#4222) Signed-off-by: Henri DF --- prompb/README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 prompb/README.md diff --git a/prompb/README.md b/prompb/README.md new file mode 100644 index 000000000..d2aa933ef --- /dev/null +++ b/prompb/README.md @@ -0,0 +1,14 @@ +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