apisix
apisix copied to clipboard
bug: grpc-transcode cannot be used with opentelemetry
Current Behavior
grpc-transcode cannot be used with opentelemetry.
The interface backend is grpc, and the frontend requests through http application/json type, after reaching apisix.
The OpenTelemetry plug-in sends the trace to otel, which is normal.
But the apisix return parameter is incorrect.
Expected Behavior
No response
Error Logs
No response
Steps to Reproduce
- dashboard: 3.0.1
Environment
- APISIX version (run
apisix version): - Operating system (run
uname -a): - OpenResty / Nginx version (run
openresty -Vornginx -V): - etcd version, if relevant (run
curl http://127.0.0.1:9090/v1/server_info): - APISIX Dashboard version, if relevant:
- Plugin runner version, for issues related to plugin runners:
- LuaRocks version, for installation issues (run
luarocks --version):
could you please provide steps to reproduce?
could you please provide steps to reproduce?
- Deploy apisix.
- Import Protocol Buffers.
- Open the opentelemetry plug-in. This should definitely happen.
Can you help with more detailed information, if you do that, anyone wanting to investigate on this issue can quickly get started and find the bug then plan to fix it. You can share the configurations and the commands you used to make the setup where you found this bug.
What do you mean by but the apisix return parameter is incorrect? The gRPC message suggest the proto method was not found. Does your upstream gRPC server implement this interface? Is proto configured properly on the APISIX side as the gRPC client? Need more info.
apisix config.conf
apisix dashboard settings
proto
route
What do you mean by
but the apisix return parameter is incorrect? The gRPC message suggest the proto method was not found. Does your upstream gRPC server implement this interface? Is proto configured properly on the APISIX side as the gRPC client? Need more info.
I turned off the OpenTelemetry plug -in and returned to normal
@Jamel-jun please provide more detailed reproduction steps.
@Jamel-jun any update?
apisix config:
opentelemetry:
route:
response:
apisix logs:
it is helpful if you share the code/text instead of screenshots.