Skip to content

Commit 751e813

Browse files
authored
Fix missing step in docs (open-telemetry#1113)
As far as I can tell, the tutorial in the docs doesn't actually work without this line.
1 parent 071b1b3 commit 751e813

File tree

1 file changed

+1
-0
lines changed
  • instrumentation/opentelemetry-instrumentation-grpc/src/opentelemetry/instrumentation/grpc

1 file changed

+1
-0
lines changed

Diff for: instrumentation/opentelemetry-instrumentation-grpc/src/opentelemetry/instrumentation/grpc/__init__.py

+1
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ def SayHello(self, request, context):
106106
def serve():
107107
108108
server = grpc.server(futures.ThreadPoolExecutor())
109+
server = intercept_server(server, server_interceptor())
109110
110111
helloworld_pb2_grpc.add_GreeterServicer_to_server(Greeter(), server)
111112
server.add_insecure_port("[::]:50051")

0 commit comments

Comments
 (0)