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

Request for Apollo/Graphql probe #630

Open
smeijer opened this issue Dec 5, 2019 · 0 comments
Open

Request for Apollo/Graphql probe #630

smeijer opened this issue Dec 5, 2019 · 0 comments

Comments

@smeijer
Copy link

smeijer commented Dec 5, 2019

It would be nice to have a probe that is able to log the response time and perhaps also the response size of apollo/graphql (field) resolvers.

That way it becomes easier to trace down the slow resolvers, and focus on optimizing those first.

If we log the path of the resolver, we could even use it to see if deprecated resolvers are still being used, and adjust our deprecation plan based on those statistics.

So stats that would be useful to me are:

  • response time
  • response size
  • resolver path

Note that a single graphql request, can result in statistics of multiple nested resolvers. Perhaps the apollo tracing data can be used for this. It already contains timings per child resolver.

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

No branches or pull requests

1 participant