2 ms·
I’m a bit confused by the monitoring described. Event loop lag is insidious because it doesn’t affect only the slow part of your app, it affects everything: one
by williamdclt 2y ago
I’m a bit confused by the monitoring described. Event loop lag is insidious because it doesn’t affect only the slow part of your app, it affects everything: one small part of a request takes seconds, making every concurrent request take seconds. Generally, i found that when the event loop is having lag issue, you can’t really trust much of your application monitoring (OTel spans are very long, but it’s actually just waiting for the event loop). How then did find the root causes of these lag issues?
As an aside, it’s a bit weird to create a span to mark that something happened, OTel events are made for that
- Aeolun 2y agoHaving a span for your application waiting for some amount of time makes sense though? Are you talking about something else?