mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2025-01-07 23:02:15 +02:00
ffdbc05665
Promote everything to v0.2.3, golang 1.14, and give everything a nice go get -u ./... and go mod tidy along the way too. |
||
---|---|---|
.. | ||
api | ||
client | ||
config | ||
middleware/tracing | ||
server | ||
go.mod | ||
go.sum | ||
README.md |
gRPC Tracing Example
Traces client and server calls via interceptors.
Compile .proto
Only required if the service definition (.proto) changes.
cd ./example/grpc
# protobuf v1.3.2
protoc -I api --go_out=plugins=grpc,paths=source_relative:./api api/hello-service.proto
Run server
cd ./example/grpc
go run ./server
Run client
go run ./client