Replies: 1 comment
-
In my opinion the easiest way to do this is by decorating all your resolve functions. In my own toolkit (https://github.com/le0daniel/graphql-tools) that I wrote for my GraphQL applications i wrap each resolver by a class called ProxyResolver (which is invokable), which allows me to get detailed telemetry into every resolver and how long it takes in NanoSeconds... A similar approach could work for you if you need more detailed insights into what takes how long... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I’m trying to get full time taken by GraphQL query on server side, like:
But I’m getting only a small piece of time of full query which may consists of several queries/resolvers.
Is there a way to get full time?
Beta Was this translation helpful? Give feedback.
All reactions