mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-27 07:14:59 +00:00
The queued watches metric gives insight into the watches that are queued for execution. Per watch that is queued, executing information is shared, like the `watch_id`, when the watch was triggered and when execution started. Original commit: elastic/x-pack-elasticsearch@deb5ddfde2
26 lines
790 B
JSON
26 lines
790 B
JSON
{
|
|
"watcher.stats": {
|
|
"documentation": "http://www.elastic.co/guide/en/watcher/current/appendix-api-stats.html",
|
|
"methods": [ "GET" ],
|
|
"url": {
|
|
"path": "/_watcher/stats",
|
|
"paths": [ "/_watcher/stats", "/_watcher/stats/{metric}" ],
|
|
"parts": {
|
|
"metric": {
|
|
"type" : "enum",
|
|
"options" : ["_all", "queued_watches", "pending_watches"],
|
|
"description" : "Controls what additional stat metrics should be include in the response"
|
|
}
|
|
},
|
|
"params": {
|
|
"metric": {
|
|
"type" : "enum",
|
|
"options" : ["_all", "queued_watches", "pending_watches"],
|
|
"description" : "Controls what additional stat metrics should be include in the response"
|
|
}
|
|
}
|
|
},
|
|
"body": null
|
|
}
|
|
}
|