Get Watcher statistics

  • GET /_watcher/stats/{metric}
  • GET /_watcher/stats

This API always returns basic metrics. You retrieve more metrics by using the metric parameter.

  • Cluster privileges: monitor_watcher

Path Parameters

metric union WatcherMetric | [] WatcherMetric optional

Defines which additional metrics are included in the response.

Supported values include: _all (or all), queued_watches, current_watches, pending_watches

Leave it out to use /_watcher/stats.

Values: _all all queued_watches current_watches pending_watches

Response