Debian Codegraph @

instrumentation/google.golang.org/grpc/otelgrpc/example/README.md

raw symbols SCIP
1 # gRPC Tracing Example
2
3 Traces client and server calls via interceptors.
4
5 ## Compile .proto
6
7 Only required if the service definition (.proto) changes.
8
9 ```sh
10 # protobuf v34.0
11 protoc -I api --go_out=paths=source_relative:./api --go-grpc_out=paths=source_relative:./api api/hello-service.proto
12 ```
13
14 ## Run server
15
16 ```sh
17 go run ./server
18 ```
19
20 ### Run client
21
22 ```sh
23 go run ./client
24 ```