Skip to content

Commit e02b167

Browse files
committed
Add grpc.aio instrumentation to be auto-instrumented
PR open-telemetry#1245 added grpc.aio instrumentation. It included the auto instrumentor for grpc.aio but did not include the entry-points hook for it to be run automatically on boot. Currently, you need to manually include the instrumentor and call it. This makes that automatic and in line with the plain grpc instrumentation.
1 parent ffb995d commit e02b167

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

instrumentation/opentelemetry-instrumentation-grpc/pyproject.toml

+2
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ test = [
4646
[project.entry-points.opentelemetry_instrumentor]
4747
grpc_client = "opentelemetry.instrumentation.grpc:GrpcInstrumentorClient"
4848
grpc_server = "opentelemetry.instrumentation.grpc:GrpcInstrumentorServer"
49+
grpc_aio_client = "opentelemetry.instrumentation.grpc:GrpcAioInstrumentorClient"
50+
grpc_aio_server = "opentelemetry.instrumentation.grpc:GrpcAioInstrumentorServer"
4951

5052
[project.urls]
5153
Homepage = "https://github.com/open-telemetry/opentelemetry-python-contrib/tree/main/instrumentation/opentelemetry-instrumentation-grpc"

0 commit comments

Comments
 (0)