Skip to content

Commit

Permalink
Add grpc.aio instrumentation to be auto-instrumented
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
cookiefission committed Nov 15, 2022
1 parent ffb995d commit e02b167
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ test = [
[project.entry-points.opentelemetry_instrumentor]
grpc_client = "opentelemetry.instrumentation.grpc:GrpcInstrumentorClient"
grpc_server = "opentelemetry.instrumentation.grpc:GrpcInstrumentorServer"
grpc_aio_client = "opentelemetry.instrumentation.grpc:GrpcAioInstrumentorClient"
grpc_aio_server = "opentelemetry.instrumentation.grpc:GrpcAioInstrumentorServer"

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

0 comments on commit e02b167

Please sign in to comment.