Files
elasticsearch-js/docs/reference/api/WatcherStatsWatcherNodeStats.md
2025-05-27 15:30:21 -05:00

1.6 KiB

Interface WatcherStatsWatcherNodeStats

Name Type Description
current_watches WatcherStatsWatchRecordStats[] The current executing watches metric gives insight into the watches that are currently being executed by Watcher. Additional information is shared per watch that is currently executing. This information includes the watch_id, the time its execution started and its current execution phase. To include this metric, the metric option should be set to current_watches or _all. In addition you can also specify the emit_stacktraces=true parameter, which adds stack traces for each watch that is being run. These stack traces can give you more insight into an execution of a watch.
execution_thread_pool WatcherExecutionThreadPool  
node_id Id  
queued_watches WatcherStatsWatchRecordQueuedStats[] Watcher moderates the execution of watches such that their execution won't put too much pressure on the node and its resources. If too many watches trigger concurrently and there isn't enough capacity to run them all, some of the watches are queued, waiting for the current running watches to finish.s The queued watches metric gives insight on these queued watches. To include this metric, the metric option should include queued_watches or _all.
watch_count long The number of watches currently registered.
watcher_state WatcherStatsWatcherState The current state of Watcher.