This repo shows you how to trace gRPC with Datadog APM (go tracer).
conn, err := grpc.Dial(
address,
grpc.WithInsecure(),
grpc.WithUnaryInterceptor(
grpctrace.UnaryClientInterceptor(datadogAPMServiceName, tracer.DefaultTracer),
),
)
You can see the details here: greeter_client/main.go
s := grpc.NewServer(
grpc.UnaryInterceptor(
grpctrace.UnaryServerInterceptor(datadogAPMServiceName, tracer.DefaultTracer),
),
)
You can see the details here: greeter_server/main.go