kibana/x-pack/plugins
Tim Sullivan 274617de59
Stats API: implement the "kibana status" spec from the Monitoring data model for stats (#20577)
* [Stats API] Set API field names per spec

* fix jest tests

* fix api integration test

* trash the original metrics collector

- constantly accumulating stats over time does not align with the existing behavior, which is to reset the stats to 0 whenever they are pulled

* move some logic out of the collector types combiner into inline

- change the signature of sourceKibana

* Make a new stats collector for the API

- to not clear the data when pulling via the api
- fetching is a read-only thing

* isolate data transforms for api data and upload data

* no static methods

* remove external in bytes

* remove the _stats prefix for kibana and reporting

* update jest test snapshot

* fix collector_types_combiner test

* fix usage api

* add test suite todo comment

* reduce some loc change

* roll back mysterious change

* reduce some more loc change

* comment correction

* reduce more loc change

* whitespace

* comment question

* fix cluster_uuid

* fix stats integration test

* fix bulk uploader test, combineTypes is no longer external

* very important comments about the current nature of stats represented and long-term goals

* add stats api tests with/without authentication

* fix more fields to match data model

* fix more tests

* fix jest test

* remove TODO

* remove sockets

* use snake_case for api field names

* restore accidental removal + copy/paste error

* sourceKibana -> getKibanaInfoForStats

* skip usage test on legacy endpoint

* fix api tests

* more comment

* stop putting a field in that used to be omitted

* fix the internal type to ID the usage data for bulk uploader

* correct the kibana usage type value, which is shown as-is in the API

* more fixes for the constants identifying collector types + test against duplicates

* add a comment on a hack, and a whitespace fix
2018-07-18 16:37:04 -07:00
..
__mocks__ [APM] ML integration (#19791) 2018-07-04 14:18:19 +02:00
apm [APM] Add section titles to span detail modal (#20717) 2018-07-13 09:15:28 +02:00
cloud Migrate x-pack-kibana source to kibana 2018-04-24 13:48:10 -07:00
console_extensions [console] adding generated spec files for xpack endpoints and adjusting code to… (#19928) 2018-06-25 08:44:35 -04:00
dashboard_mode Add SearchStrategyRegistry and defaultSearchStrategy to support existing search behavior, and integrate it with CallClient. (#20497) 2018-07-17 18:49:46 -07:00
graph Simplify Courier interface and organize internals (#20060) 2018-06-27 16:58:19 -07:00
grokdebugger Fix misspellings (#19981) 2018-06-26 20:17:41 -07:00
index_management Bump eui (#20774) 2018-07-17 19:28:07 -04:00
license_management [Monitoring] Capitalize the license type (#20683) 2018-07-13 16:24:57 -04:00
logstash Convert various uses of notifier to toastNotifications. (#20420) 2018-07-06 08:33:04 -07:00
ml [ML] Adding close jobs menu item (#20927) 2018-07-18 17:47:44 +01:00
monitoring Stats API: implement the "kibana status" spec from the Monitoring data model for stats (#20577) 2018-07-18 16:37:04 -07:00
notifications Fix misspellings (#19981) 2018-06-26 20:17:41 -07:00
reporting Stats API: implement the "kibana status" spec from the Monitoring data model for stats (#20577) 2018-07-18 16:37:04 -07:00
searchprofiler Fix misspellings (#19981) 2018-06-26 20:17:41 -07:00
security Convert various uses of notifier to toastNotifications. (#20420) 2018-07-06 08:33:04 -07:00
tilemap Fix misspellings (#19981) 2018-06-26 20:17:41 -07:00
watcher Replace uses of Notifier with toastNotifications in Watcher. (#20538) 2018-07-09 13:29:48 -07:00
xpack_main Stats API: implement the "kibana status" spec from the Monitoring data model for stats (#20577) 2018-07-18 16:37:04 -07:00