Documentation ¶
Index ¶
- Variables
- func InitConn() (*grpc.ClientConn, error)
- func InitMeterProvider(ctx context.Context, res *resource.Resource, conn *grpc.ClientConn) (func(context.Context) error, error)
- func InitTracerProvider(ctx context.Context, res *resource.Resource, conn *grpc.ClientConn) (func(context.Context) error, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ServiceName = semconv.ServiceNameKey.String("go-grpc-demo")
Functions ¶
func InitConn ¶
func InitConn() (*grpc.ClientConn, error)
Initialize a gRPC connection to be used by both the tracer and meter providers.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.