2024-02-24 00:34:55 +00:00
|
|
|
// Copyright The OpenTelemetry Authors
|
2024-10-16 10:54:40 +00:00
|
|
|
// SPDX-License-Identifier: Apache-2.0
|
2022-07-07 20:11:50 +00:00
|
|
|
|
|
|
|
/*
|
2024-02-24 00:34:55 +00:00
|
|
|
Package otelgrpc is the instrumentation library for [google.golang.org/grpc].
|
2022-07-07 20:11:50 +00:00
|
|
|
|
2024-02-24 00:34:55 +00:00
|
|
|
Use [NewClientHandler] with [grpc.WithStatsHandler] to instrument a gRPC client.
|
2022-07-07 20:11:50 +00:00
|
|
|
|
2024-02-24 00:34:55 +00:00
|
|
|
Use [NewServerHandler] with [grpc.StatsHandler] to instrument a gRPC server.
|
2022-07-07 20:11:50 +00:00
|
|
|
*/
|
2024-02-24 00:34:55 +00:00
|
|
|
package otelgrpc // import "go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc"
|