We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OS: Ubuntu Python version: Python 3.8.18 Package version: 0.48b0 Package: opentelemetry-instrumentation-grpc
The request/response hooks added in https://github.com/open-telemetry/opentelemetry-python-contrib/pull/1706/files only seem to work for unary requests, not streaming requests.
Instrument using GrpcInstrumentorClient, pass request_hook and response_hook, then make a response-streaming rpc with a client.
Calls to the configured hooks. Maybe once per message and again when the request finishes?
No calls to the hooks.
It looks like OpenTelemetryClientInterceptor._intercept calls _trace_result, but OpenTelemetryClientInterceptor._intercept_server_stream does not.
No
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe your environment
OS: Ubuntu
Python version: Python 3.8.18
Package version: 0.48b0
Package: opentelemetry-instrumentation-grpc
What happened?
The request/response hooks added in https://github.com/open-telemetry/opentelemetry-python-contrib/pull/1706/files only seem to work for unary requests, not streaming requests.
Steps to Reproduce
Instrument using GrpcInstrumentorClient, pass request_hook and response_hook, then make a response-streaming rpc with a client.
Expected Result
Calls to the configured hooks. Maybe once per message and again when the request finishes?
Actual Result
No calls to the hooks.
Additional context
It looks like OpenTelemetryClientInterceptor._intercept calls _trace_result, but OpenTelemetryClientInterceptor._intercept_server_stream does not.
Would you like to implement a fix?
No
The text was updated successfully, but these errors were encountered: