kibana/x-pack/plugins/alerts/server
Yuliia Naumenko 802c6dccb4
Implemented Alerting health status pusher by using task manager and status pooler for Kibana status plugins 'kibanahost/api/status' (#79056)
* Implemented Alerting health status pusher by using task manager and status pooler for Kibana status plugins 'kibanahost/api/status'

* Exposed health task registration to alerts plugin

* Fixed type error

* Extended health API endpoint with info about decryption failures, added correct health task implementation

* adjusted query

* Tested locally and got it working as expected, fixed tests and type check

* Added unit tests

* Changed AlertExecutionStatusErrorReasons to be enum

* Uppercase the enum

* Replaced string values to enum

* Fixed types

* Extended AlertsClient with getHealth method

* added return type to healthStatus$

* Added configurable health check interval and timestamps

* Extended update core status interval to 5mins

* Fixed failing tests

* Registered alerts config

* Fixed date for ok health state

* fixed jest test

* fixed task state

* Fixed due to comments, moved getHealth to a plugin level

* fixed type checks

* Added sorting to the latest Ok state last update

* adjusted error queries

* Fixed jest tests

* removed unused

* fixed type check
2020-11-06 16:20:39 -08:00
..
alert_instance
alerts_client [Alerting] Display Action Group in Alert Details (#82645) 2020-11-06 07:28:08 -05:00
authorization Upgrade to hapi version 18 (#80468) 2020-11-02 13:18:00 +01:00
constants
health Implemented Alerting health status pusher by using task manager and status pooler for Kibana status plugins 'kibanahost/api/status' (#79056) 2020-11-06 16:20:39 -08:00
lib Implemented Alerting health status pusher by using task manager and status pooler for Kibana status plugins 'kibanahost/api/status' (#79056) 2020-11-06 16:20:39 -08:00
routes Implemented Alerting health status pusher by using task manager and status pooler for Kibana status plugins 'kibanahost/api/status' (#79056) 2020-11-06 16:20:39 -08:00
saved_objects
task_runner Implemented Alerting health status pusher by using task manager and status pooler for Kibana status plugins 'kibanahost/api/status' (#79056) 2020-11-06 16:20:39 -08:00
test_utils
usage Initialize to empty state when registering telemetry tasks (#82169) 2020-11-02 15:34:16 -05:00
alert_type_registry.mock.ts Get rid of global types (#81739) 2020-10-28 11:03:04 +01:00
alert_type_registry.test.ts [Task Manager] Cleans up legacy plugin structure (#80381) 2020-10-20 13:00:13 +01:00
alert_type_registry.ts Upgrade to hapi version 18 (#80468) 2020-11-02 13:18:00 +01:00
alerts_client.mock.ts [Alerting] Return alert execution status rollup from _find API (#81819) 2020-11-03 07:26:44 -05:00
alerts_client_conflict_retries.test.ts [Task Manager] Cleans up legacy plugin structure (#80381) 2020-10-20 13:00:13 +01:00
alerts_client_factory.test.ts Upgrade to hapi version 18 (#80468) 2020-11-02 13:18:00 +01:00
alerts_client_factory.ts
config.test.ts Implemented Alerting health status pusher by using task manager and status pooler for Kibana status plugins 'kibanahost/api/status' (#79056) 2020-11-06 16:20:39 -08:00
config.ts Implemented Alerting health status pusher by using task manager and status pooler for Kibana status plugins 'kibanahost/api/status' (#79056) 2020-11-06 16:20:39 -08:00
index.ts Implemented Alerting health status pusher by using task manager and status pooler for Kibana status plugins 'kibanahost/api/status' (#79056) 2020-11-06 16:20:39 -08:00
mocks.ts Implemented Alerting health status pusher by using task manager and status pooler for Kibana status plugins 'kibanahost/api/status' (#79056) 2020-11-06 16:20:39 -08:00
plugin.test.ts Implemented Alerting health status pusher by using task manager and status pooler for Kibana status plugins 'kibanahost/api/status' (#79056) 2020-11-06 16:20:39 -08:00
plugin.ts Implemented Alerting health status pusher by using task manager and status pooler for Kibana status plugins 'kibanahost/api/status' (#79056) 2020-11-06 16:20:39 -08:00
types.ts Implemented Alerting health status pusher by using task manager and status pooler for Kibana status plugins 'kibanahost/api/status' (#79056) 2020-11-06 16:20:39 -08:00