Skip to content

namp10010/ocgrpc-print

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example gRPC server and client with OpenCensus

This is a modified version from gRPC with OpenCensus

This example uses:

  • gRPC to create an RPC server and client.
  • The OpenCensus gRPC plugin to instrument the RPC server and client.
  • Debugging exporters to print stats and traces to stdout.

First, run the server:

$ go run server/main.go

Then, run the client:

$ go run client/main.go

You will see traces and stats exported on the stdout. You can use one of the exporters to upload collected data to the backend of your choice.

You can also see the z-pages provided from the server:

About

simple Go gRPC implementation with OpenCensus and PrintExporter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages