OpenSearch/plugin/watcher
Alexander Reelsen 92379ca9af Watcher: Ensure usage stats work properly in distributed environment (elastic/x-pack-elasticsearch#4094)
This adds back usage stats by pickybacking on the watcher stats, which
are already running distributed in order to collect and merge watcher
statistics.

In order to be able to track statistics, we need to add information for
each watch in an in-memory data structure that is processed whenever a
usage request is coming in. This processing creates a number of counters
for each node, which then are merged together in the usage stats.

relates elastic/x-pack-elasticsearch#4071

Original commit: elastic/x-pack-elasticsearch@c8bfed288f
2018-03-15 10:28:03 -07:00
..
licenses More license file corrections 2018-01-18 16:34:25 -08:00
src Watcher: Ensure usage stats work properly in distributed environment (elastic/x-pack-elasticsearch#4094) 2018-03-15 10:28:03 -07:00
build.gradle Build: Replace provided configuration with compileOnly (elastic/x-pack-elasticsearch#3868) 2018-02-09 11:30:43 -08:00