Skip to content
New issue

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

help request: opentelemetry plugin with grpc server upstream can't send trace #9667

Closed
bai-ming opened this issue Jun 15, 2023 · 4 comments
Closed
Assignees
Labels

Comments

@bai-ming
Copy link

Description

I create a route for grpc server,
the config like this
image
I can get the correct response but the trace send failed.
image
At first, I deleted the grpc-translate plugin but the trace still send failed
image
Next, I change a new upstream with the scheme is HTTP.
image
At this time, the trace send successfully.
So I wonder if there is something wrong between opentelemetry plugin and grpc server? Or I have some problems with my configuration?

Environment

  • APISIX version (run apisix version): 3.3.0
  • Operating system (run uname -a): 4.15.0-204-generic Can support different server{} ? #215-Ubuntu SMP Fri Jan 20 18:24:59 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
  • OpenResty / Nginx version (run openresty -V or nginx -V):nginx version: openresty/1.21.4.1
  • etcd version, if relevant (run curl http://127.0.0.1:9090/v1/server_info): 3.5.0
  • APISIX Dashboard version, if relevant: 3.0.1
  • Plugin runner version, for issues related to plugin runners:
  • LuaRocks version, for installation issues (run luarocks --version):
@bai-ming bai-ming changed the title opentelemetry plugin with grpc server upstream can't send trace help request : opentelemetry plugin with grpc server upstream can't send trace Jun 15, 2023
@bai-ming bai-ming changed the title help request : opentelemetry plugin with grpc server upstream can't send trace help request: opentelemetry plugin with grpc server upstream can't send trace Jun 15, 2023
@Revolyssup
Copy link
Contributor

Revolyssup commented Jun 15, 2023

@bai-ming tracer only works with http requests.

@bai-ming
Copy link
Author

emmm, but i use the grpc-transcode plugin to translate it, it still dosen't work. Or tracer only works with http upstream?

@Revolyssup
Copy link
Contributor

Revolyssup commented Aug 2, 2023

@bai-ming This issue has been fixed here - #9606. You can close the issue.

@Revolyssup
Copy link
Contributor

fixed here - #9606

@github-project-automation github-project-automation bot moved this from 📋 Backlog to ✅ Done in Apache APISIX backlog Aug 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

No branches or pull requests

3 participants