example

module
v0.0.0-...-ae037c7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 4, 2022 License: Apache-2.0

README

gRPC Tracing + Metric Example

Traces client and server calls via interceptors.

Compile .proto

Only required if the service definition (.proto) changes.

# protobuf v1.3.2
protoc -I api --go_out=plugins=grpc,paths=source_relative:./api api/hello-service.proto
Run server
go run ./server
Run client
go run ./client

Directories

Path Synopsis
Package api is a generated protocol buffer package.
Package api is a generated protocol buffer package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL