mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
resolves https://github.com/elastic/kibana/issues/124366 Adds new task manager configuration keys. - `xpack.task_manager.event_loop_delay.monitor` - whether to monitor event loop delay or not; added in case this specific monitoring causes other issues and we'd want to disable it. We don't know of any cases where we'd need this today - `xpack.task_manager.event_loop_delay.warn_threshold` - the number of milliseconds of event loop delay before logging a warning This code uses the `perf_hooks.monitorEventLoopDelay()` API[1] to collect the event loop delay while a task is running. [1] https://nodejs.org/api/perf_hooks.html#perf_hooksmonitoreventloopdelayoptions When a significant event loop delay is encountered, it's very likely that other tasks running at the same time will be affected, and so will also end up having a long event loop delay value, and warnings will be logged on those. Over time, though, tasks which have consistently long event loop delays will outnumber those unfortunate peer tasks, and be obvious from the volume in the logs. To make it a bit easier to find these when viewing Kibana logs in Discover, tags are added to the logged messages to make it easier to find them. One tag is `event-loop-blocked`, second is the task type, and the third is a string consisting of the task type and task id. |
||
---|---|---|
.. | ||
images | ||
alert-action-settings.asciidoc | ||
apm-settings.asciidoc | ||
banners-settings.asciidoc | ||
enterprise-search-settings.asciidoc | ||
fleet-settings.asciidoc | ||
general-infra-logs-ui-settings.asciidoc | ||
i18n-settings.asciidoc | ||
infrastructure-ui-settings.asciidoc | ||
logging-settings.asciidoc | ||
logs-ui-settings.asciidoc | ||
monitoring-settings.asciidoc | ||
reporting-settings.asciidoc | ||
search-sessions-settings.asciidoc | ||
security-settings.asciidoc | ||
settings-xkb.asciidoc | ||
spaces-settings.asciidoc | ||
task-manager-settings.asciidoc | ||
telemetry-settings.asciidoc | ||
url-drilldown-settings.asciidoc |