🔎 Open source distributed and RESTful search engine.
Go to file
Martijn van Groningen c3dd74df7f Expose the current executing watches as part of the Watcher stats API.
The following additional information will be shown per watch that is executing:  `watch_id`, `watch_execution_id`, `triggered_time`, `execution_time`, `execution_phase` (whether it is execution an input, condition or an action) and `stack_trace` (useful for us when a customer reports an issue :) ).

The stats api will by default include the executing watches in the response. In order to control this, a `metric` option has been added, which can be specified as query string argument or as last path element in the stats api url. By default the watcher stats API will only return the basic statistics that are already there.

The `metric` option has the following values:
* `current_watches` - Include the current executing watches in the response.
* `_all` - Include all metrics in the stats response. Not very useful now, but when we expose more metrics in this api it will be more useful.

Original commit: elastic/x-pack-elasticsearch@093bef9bb3
2015-05-21 10:51:51 +02:00
dev-tools Watcher randomization testing 2015-05-11 13:33:18 -07:00
rest-api-spec [REST-TEST] Remove check for snapshot. 2015-05-20 09:58:05 -04:00
src Expose the current executing watches as part of the Watcher stats API. 2015-05-21 10:51:51 +02:00
LICENSE.txt Initial X-Pack commit 2018-04-20 14:16:58 -07:00
README.asciidoc Update README.asciidoc 2015-05-05 23:38:55 +02:00
all-signatures.txt Better handling of sensitive data in registered watches and watcher settings 2015-04-28 16:04:02 +02:00
core-signatures.txt Better handling of sensitive data in registered watches and watcher settings 2015-04-28 16:04:02 +02:00
pom.xml moving version to 2.0.0-SNAPSHOT 2015-05-20 15:29:52 +02:00
test-signatures.txt [cleanup] - added forbidden apis mvn plugin 2015-02-17 16:31:18 +01:00
tests.policy Build: Configure randomizedtesting properly 2014-11-07 14:24:56 +01:00

README.asciidoc

= Elasticsearch Watcher Plugin

This plugins adds conditioned scheduled tasks features to elasticsearch - such a task is called a `Watch`.

You can build the plugin with `mvn package`.

The documentation is put in the `docs/` directory.