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

[v1] log requests for mesh-serve #7298

Closed
n1ru4l opened this issue Jul 16, 2024 · 1 comment
Closed

[v1] log requests for mesh-serve #7298

n1ru4l opened this issue Jul 16, 2024 · 1 comment

Comments

@n1ru4l
Copy link
Collaborator

n1ru4l commented Jul 16, 2024

Is your feature request related to a problem? Please describe.

When I send a request from GraphiQL, all I see is

πŸ•ΈοΈ  Mesh πŸ› Parsing request to extract GraphQL parameters
πŸ•ΈοΈ  Mesh πŸ› Processing GraphQL Parameters
πŸ•ΈοΈ  Mesh πŸ› Processing GraphQL Parameters done.
πŸ•ΈοΈ  Mesh πŸ› Parsing request to extract GraphQL parameters
πŸ•ΈοΈ  Mesh πŸ› Processing GraphQL Parameters

Describe the solution you'd like

Show more information, like the URL being called, the type of request GET / POST, and the total request time.

It would be nice to have debug logging for outgoing requests from gateway to subgraph.

Interesting information here is, URL being called, HTTP status code and/or error code in case of network error.

Describe alternatives you've considered

  • Fork the docker image and build my own plugin.
  • Implement this on the Yoga level, so everyone benefits from it

Additional context

None

@ardatan
Copy link
Owner

ardatan commented Jul 25, 2024

#7343

@ardatan ardatan closed this as completed Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants