Registry / observability / grpc-ecosystem-grpc-opentracing

grpc-ecosystem-grpc-opentracing

JSON →
library0.0.0-20180507213350-8e809c8a8645gogounverified

An OpenTracing integration for gRPC, enabling distributed tracing of gRPC calls.

go get github.com/grpc-ecosystem/grpc-opentracing
INSTALL
IMPORT
SIG · GRPC-ECOSYSTEM-GRP
G
grpc-ecosystem-grpc-opentracing
observabilitygov0.0.0-20180507213350-8e809c8a8645
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

grpc_opentracing
github.com/grpc-ecosystem/grpc-opentracing

Create a gRPC client with OpenTracing interceptor.

package main import ( "github.com/grpc-ecosystem/grpc-opentracing/go/otgrpc" "github.com/opentracing/opentracing-go" "google.golang.org/grpc" ) func main() { tracer := opentracing.GlobalTracer() conn, err := grpc.Dial("localhost:50051", grpc.WithUnaryInterceptor(otgrpc.OpenTracingClientInterceptor(tracer)), grpc.WithInsecure(), ) if err != nil { panic(err) } defer conn.Close() }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20180507213350-8e809c8a8645latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
17 hits · last 30 days
node
14
OpenAI (training)
2
Resources
grpc-ecosystem-grpc-opentracing — go get grpc-ecosystem-grpc-opentracing · libregistry