lib/elasticsearch/xpack/api/actions/watcher/stats.rb in elasticsearch-xpack-6.1.0 vs lib/elasticsearch/xpack/api/actions/watcher/stats.rb in elasticsearch-xpack-6.2.0
- old
+ new
@@ -10,10 +10,10 @@
# (options: _all, queued_watches, pending_watches)
#
# @see https://www.elastic.co/guide/en/x-pack/current/watcher-api-stats.html
#
def stats(arguments={})
- valid_params = [ :metric ]
+ valid_params = [ :metric, :emit_stacktraces ]
method = Elasticsearch::API::HTTP_GET
path = "_xpack/watcher/stats"
params = Elasticsearch::API::Utils.__validate_and_extract_params arguments, valid_params
body = nil