Registry /
observability / grpc-ecosystem-grpc-opentracing
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.