OpenSearch/docs/reference/cluster
Colin Goodheart-Smithe 779fb9a1c0 Adds nodes usage API to monitor usages of actions (#24169)
* Adds nodes usage API to monitor usages of actions

The nodes usage API has 2 main endpoints

/_nodes/usage and /_nodes/{nodeIds}/usage return the usage statistics
for all nodes and the specified node(s) respectively.

At the moment only one type of usage statistics is available, the REST
actions usage. This records the number of times each REST action class is
called and when the nodes usage api is called will return a map of rest
action class name to long representing the number of times each of the action
classes has been called.

Still to do:

* [x] Create usage service to store usage statistics
* [x] Record usage in REST layer
* [x] Add Transport Actions
* [x] Add REST Actions
* [x] Tests
* [x] Documentation

* Rafactors UsageService so counts are done by the handlers

* Fixing up docs tests

* Adds a name to all rest actions

* Addresses review comments
2017-06-02 08:46:38 +01:00
..
allocation-explain.asciidoc Fix typo in allocation explain API docs 2017-03-21 08:41:54 -04:00
health.asciidoc [TEST] Fix incorrect test cluster name in cluster health doc tests 2017-02-22 17:18:11 -07:00
nodes-hot-threads.asciidoc Core: ignore known idle threads by default in /_nodes/hot_threads 2014-12-17 11:59:31 -05:00
nodes-info.asciidoc add indices nodes info flag to docs 2016-06-20 14:23:32 -04:00
nodes-stats.asciidoc Documented the level parameter to nodes stats 2017-06-01 12:11:21 +02:00
nodes-usage.asciidoc Adds nodes usage API to monitor usages of actions (#24169) 2017-06-02 08:46:38 +01:00
pending.asciidoc Update task management docs to reflect the latest changes in the interface 2016-03-29 12:26:37 -04:00
remote-info.asciidoc Add cross-cluster search remote cluster info API (#23969) 2017-04-11 09:24:40 +02:00
reroute.asciidoc TCorrecting api name (#24924) 2017-05-29 13:58:31 +02:00
state.asciidoc Adds cluster state size to /_cluster/state response (#23440) 2017-03-02 14:20:29 -05:00
stats.asciidoc add mem section back to cluster stats 2016-09-01 11:26:03 +02:00
tasks.asciidoc Clarify task cancellation command (#23667) 2017-03-30 20:21:21 +02:00
update-settings.asciidoc Docs: Consoleify cluster and indices settings docs (#23030) 2017-02-10 14:57:43 -08:00