kibana/x-pack/plugins/stack_alerts
Ying Mao 27315aceba
[Response Ops] Add framework services for rule types to respect alert circuit breaker (#139501)
* Adding service functions to alert factory

* Fixing types

* Fixing types

* Small refactor

* Adding functional test

* Cleanup

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-09-06 10:21:28 -04:00
..
common [E&C][ES Query] adds runtime mappings and fields support to the ES Query ruletype (#138427) 2022-08-22 13:17:46 +01:00
public Add "exclude previous hits" check box to ESQuery rule form (#138781) 2022-09-05 13:09:09 +02:00
server [Response Ops] Add framework services for rule types to respect alert circuit breaker (#139501) 2022-09-06 10:21:28 -04:00
jest.config.js [jest] update config files to get coverage per plugin (#111299) 2021-09-09 08:14:56 +02:00
kibana.json [Discover][Alerting] Implement editing of dataView, query & filters (#131688) 2022-05-20 17:09:20 +03:00
README.md [RAC][Refactoring] Rename alerting types in triggers_actions_ui (#121107) 2021-12-17 18:35:05 +01:00
tsconfig.json [Unified search] Create unified search plugin (#127651) 2022-04-05 12:23:31 +05:00

stack_alerts plugin

This plugin provides alertTypes shipped with Kibana for use with the the alerting plugin. When enabled, it will register the alertTypes by the Stack in the alerting plugin, register associated HTTP routes, etc.

The plugin setup and start contracts for this plugin are the following type, which provides some runtime capabilities. Each built-in alertType will have it's own top-level property in the IService interface, if it needs to expose functionality.

export interface IService {
  indexThreshold: {
     timeSeriesQuery(params: TimeSeriesQueryParameters): Promise<TimeSeriesResult>;
  }
}

Each Stack RuleType is described in it's own README: