OpenSearch/rest-api-spec/api/watcher.stats.json
Martijn van Groningen 0890001470 stats: Add queued watches metric
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
2015-05-31 11:13:13 +02:00

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
}
}