1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2024-12-10 09:50:58 +02:00
opentelemetry-go/example/grpc
dependabot[bot] c5d77d234c
Bump github.com/google/go-cmp from 0.5.0 to 0.5.1 (#957)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
2020-07-22 10:03:41 -04:00
..
api Resolve #72 - gRPC Interceptor (#621) 2020-04-23 13:07:14 -07:00
client Rename plugin directory to instrumentation (#779) 2020-05-30 14:53:32 -07:00
config Update License header for all source files (#586) 2020-03-23 22:41:10 -07:00
server Rename plugin directory to instrumentation (#779) 2020-05-30 14:53:32 -07:00
go.mod Release v0.9.0 (#952) 2020-07-20 12:40:42 -07:00
go.sum Bump github.com/google/go-cmp from 0.5.0 to 0.5.1 (#957) 2020-07-22 10:03:41 -04:00
README.md Unary gRPC tracing example (#351) 2019-11-26 16:14:09 -08:00

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