OpenSearch/plugins
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
..
analysis-icu Upgrade icu4j to latest version (#24821) 2017-05-22 09:34:50 +02:00
analysis-kuromoji Upgrade to lucene-7.0.0-snapshot-a0aef2f 2017-05-19 10:20:55 -05:00
analysis-phonetic Upgrade to lucene-7.0.0-snapshot-a0aef2f 2017-05-19 10:20:55 -05:00
analysis-smartcn Upgrade to lucene-7.0.0-snapshot-a0aef2f 2017-05-19 10:20:55 -05:00
analysis-stempel Upgrade to lucene-7.0.0-snapshot-a0aef2f 2017-05-19 10:20:55 -05:00
analysis-ukrainian Upgrade to lucene-7.0.0-snapshot-a0aef2f 2017-05-19 10:20:55 -05:00
discovery-azure-classic Tests: Change rest test extension from .yaml to .yml (#24659) 2017-05-16 17:24:35 -07:00
discovery-ec2 Tests: Change rest test extension from .yaml to .yml (#24659) 2017-05-16 17:24:35 -07:00
discovery-file Tests: Change rest test extension from .yaml to .yml (#24659) 2017-05-16 17:24:35 -07:00
discovery-gce Tests: Change rest test extension from .yaml to .yml (#24659) 2017-05-16 17:24:35 -07:00
examples Scripting: Add StatefulFactoryType as optional intermediate factory in script contexts (#24974) 2017-05-30 16:32:14 -07:00
ingest-attachment Tests: Change rest test extension from .yaml to .yml (#24659) 2017-05-16 17:24:35 -07:00
ingest-geoip Tests: Change rest test extension from .yaml to .yml (#24659) 2017-05-16 17:24:35 -07:00
ingest-user-agent Tests: Change rest test extension from .yaml to .yml (#24659) 2017-05-16 17:24:35 -07:00
jvm-example Adds nodes usage API to monitor usages of actions (#24169) 2017-06-02 08:46:38 +01:00
mapper-murmur3 Tests: Change rest test extension from .yaml to .yml (#24659) 2017-05-16 17:24:35 -07:00
mapper-size Tests: Change rest test extension from .yaml to .yml (#24659) 2017-05-16 17:24:35 -07:00
repository-azure Remove Deprecated Script Settings (#24756) 2017-05-18 13:32:46 -07:00
repository-gcs GCS Repository: Remove specifying credential file on disk (#24727) 2017-05-18 10:22:29 -07:00
repository-hdfs Build: Fix hadoop integ test error on windows (#24885) 2017-05-25 12:11:33 -07:00
repository-s3 Tests: Change rest test extension from .yaml to .yml (#24659) 2017-05-16 17:24:35 -07:00
store-smb Tests: Change rest test extension from .yaml to .yml (#24659) 2017-05-16 17:24:35 -07:00
build.gradle Plugins: Include license and notice files in zip (#23191) 2017-02-15 11:23:12 -08:00