Reporting Slow Resolver #2161
Unanswered
sumanthakannantha
asked this question in
Q&A
Replies: 2 comments 4 replies
-
What do you think about to use an own directive for this. Or a Middleware at general ? You could use a http middleware at general to check this ? |
Beta Was this translation helpful? Give feedback.
1 reply
-
@fasibio If I understand correctly, a directive will be called at starting the resolver execution. Not sure if we can use it for measuring resolver. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What happened?
We are facing a performance issue with some of our resolvers. Is there any way to enable slow resolver reporting?
Example: I want to report/log all the resolvers which are taking more than 1 second in production.
Any suggestion to achieve this in gqlgen framework instead of explicit logic in the resolvers?
Beta Was this translation helpful? Give feedback.
All reactions