kibana/x-pack/plugins/monitoring/server
Mike Côté d56b792e9c
Make the alerts plugin support generics (#72716)
* Initial work

* Expand generic support to alert instances

* Convert index threshold to use generics

* Make fixture alert types use generics

* Make alert instance related types use unknown

* Fix typecheck failures

* Cleanup + add instance generic support to registry.get API

* Shallow clone

* Rename some TS variables

* Fix failing api integration tests

* Change code for easier review and keep more history

* Fix

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-08-14 12:52:42 -04:00
..
__tests__ apply prettier styles 2020-05-22 09:08:58 +02:00
alerts Make the alerts plugin support generics (#72716) 2020-08-14 12:52:42 -04:00
cloud apply prettier styles 2020-05-22 09:08:58 +02:00
cluster_alerts apply prettier styles 2020-05-22 09:08:58 +02:00
es_client Move and rename legacy elasticsearch client (#69797) 2020-06-29 17:43:31 +02:00
kibana_monitoring [Monitoring] Revert direct shipping code (#72505) 2020-07-22 09:24:14 -04:00
lib [Monitoring] Handle getClient call throwing an exception (#74550) 2020-08-06 15:33:24 -04:00
routes [Monitoring] "Internal Monitoring" deprecation warning (#72020) 2020-07-27 11:10:25 -04:00
telemetry_collection Update @typescript-eslint to ensure compatibility with TypeScript v3.9 (#74091) 2020-08-05 17:32:19 +02:00
config.test.ts [Monitoring] Revert direct shipping code (#72505) 2020-07-22 09:24:14 -04:00
config.ts [Monitoring] Revert direct shipping code (#72505) 2020-07-22 09:24:14 -04:00
deprecations.ts Deprecate kibana user in favor of kibana_system user (#63186) 2020-05-05 11:36:40 -04:00
index.ts [Monitoring] NP Migration complete client cutover (#62908) 2020-04-30 15:59:35 -04:00
license_service.ts [Monitoring] Out of the box alerting (#68805) 2020-07-14 17:50:22 -04:00
plugin.ts [Monitoring] Handle getClient call throwing an exception (#74550) 2020-08-06 15:33:24 -04:00
types.ts [Monitoring] Different messaging for CPU usage alert on cloud (#74082) 2020-08-03 15:05:12 -04:00