kibana/x-pack/plugins/monitoring/server/alerts
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
..
alerts_factory.test.ts [Monitoring] Out of the box alerting (#68805) 2020-07-14 17:50:22 -04:00
alerts_factory.ts [Monitoring] Out of the box alerting (#68805) 2020-07-14 17:50:22 -04:00
base_alert.test.ts [Monitoring] Out of the box alert tweaks (#71942) 2020-07-16 15:48:58 -04:00
base_alert.ts [Monitoring] Different messaging for CPU usage alert on cloud (#74082) 2020-08-03 15:05:12 -04:00
cluster_health_alert.test.ts [Monitoring] Different messaging for CPU usage alert on cloud (#74082) 2020-08-03 15:05:12 -04:00
cluster_health_alert.ts [Monitoring] Out of the box alerting (#68805) 2020-07-14 17:50:22 -04:00
cpu_usage_alert.test.ts [Monitoring] Different messaging for CPU usage alert on cloud (#74082) 2020-08-03 15:05:12 -04:00
cpu_usage_alert.ts [Monitoring] Different messaging for CPU usage alert on cloud (#74082) 2020-08-03 15:05:12 -04:00
elasticsearch_version_mismatch_alert.test.ts [Monitoring] Different messaging for CPU usage alert on cloud (#74082) 2020-08-03 15:05:12 -04:00
elasticsearch_version_mismatch_alert.ts [Monitoring] Out of the box alerting (#68805) 2020-07-14 17:50:22 -04:00
index.ts [Monitoring] Out of the box alerting (#68805) 2020-07-14 17:50:22 -04:00
kibana_version_mismatch_alert.test.ts [Monitoring] Different messaging for CPU usage alert on cloud (#74082) 2020-08-03 15:05:12 -04:00
kibana_version_mismatch_alert.ts [Monitoring] Out of the box alerting (#68805) 2020-07-14 17:50:22 -04:00
license_expiration_alert.test.ts [Monitoring] Different messaging for CPU usage alert on cloud (#74082) 2020-08-03 15:05:12 -04:00
license_expiration_alert.ts [Monitoring] Out of the box alerting (#68805) 2020-07-14 17:50:22 -04:00
logstash_version_mismatch_alert.test.ts [Monitoring] Different messaging for CPU usage alert on cloud (#74082) 2020-08-03 15:05:12 -04:00
logstash_version_mismatch_alert.ts [Monitoring] Out of the box alerting (#68805) 2020-07-14 17:50:22 -04:00
nodes_changed_alert.test.ts [Monitoring] Different messaging for CPU usage alert on cloud (#74082) 2020-08-03 15:05:12 -04:00
nodes_changed_alert.ts [Monitoring] Out of the box alert tweaks (#71942) 2020-07-16 15:48:58 -04:00
types.d.ts Make the alerts plugin support generics (#72716) 2020-08-14 12:52:42 -04:00