Attach a long event loop delay span to an APM transaction #128646
Labels
Team:Core
Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc
triage_needed
Since v7.14 PR, Kibana reports a warning if the mean value of event loop delay exceeds
350ms
. It helps users spot a performance problem but not investigate it since the runtime context is absent.To overcome the problem, we can borrow a few ideas from [this article] (https://www.ashbyhq.com/blog/engineering/detecting-event-loop-blockers).
TLDR: Server can capture the runtime context of the expensive tasks by implementing a custom
async hook
tracking the duration of a task and attaching it to an APM transaction. It allows Cloud customers quickly identify what APM transaction triggers CPU-bound tasks on the Kibana server.The text was updated successfully, but these errors were encountered: