From 86ac431097af2dc13068e79135ce18ec5cfb0f41 Mon Sep 17 00:00:00 2001 From: Tania Date: Sun, 17 Dec 2023 12:12:17 +0100 Subject: [PATCH] Chore: Update readme for entity store (#79586) * Chore: Update readme for entity store * Update pkg/services/store/entity/README.md Co-authored-by: Sofia Papagiannaki <1632407+papagian@users.noreply.github.com> * Apply review feedback --------- Co-authored-by: Sofia Papagiannaki <1632407+papagian@users.noreply.github.com> --- pkg/services/store/entity/README.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/pkg/services/store/entity/README.md b/pkg/services/store/entity/README.md index 9127b8797b6..7dd1cbf63dd 100644 --- a/pkg/services/store/entity/README.md +++ b/pkg/services/store/entity/README.md @@ -137,4 +137,14 @@ GF_GRAFANA_APISERVER_STORAGE_TYPE=unified-grpc ./bin/grafana server You can then list the previously-created playlists with: ```sh kubectl --kubeconfig=./grafana.kubeconfig get playlist -``` \ No newline at end of file +``` + +## Changing protobuf interface + +- install [protoc](https://grpc.io/docs/protoc-installation/) +- install the protocol compiler plugin for Go +```sh +go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest +``` +- make changes in `.proto` file +- to compile all protobuf files in the repository run `make protobuf` at its top level