Replies: 1 comment
-
Hey @mustafefe , thanks for reaching out here. ProblemReading your question, I can imagine what factors might play here for "event triggers remaining in pending state"
In relation to the 2nd point above, we would recommend you to check your webhook business logic code and find out where its taking too much time. How to troubleshootComing on to the 1st point above, if event queue time is increasing, that means average event processing rate is slowing down (avg. events processed per second). This might be the bottleneck to where you might need some improvements. So as you'll see, we have a metric called Hasura event queue time. If you are using hasura enterprise and if you have enabled prometheus metrics, then you will be able to do event triggers observability. Lets cut down to the solution:
Ending noteI would like to know few things from your side too.
I hope above explanation helps to troubleshoot your issue. Awaiting response from your side, cheers! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey all.
I have created an event trigger that sends a request to a node js web api when a data inserted to a specific table. It works and does it's job but the problem is, it spends too much time in pending state. I am kind of newbie with Hasura so could you please share with me if you have any recommendation about how to approach/analyze the issue?
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions