kibana/x-pack/plugins/stack_alerts
Yuliia Naumenko 3dcfd447d2
[Alerting] Fixed Jest test suites with unhandled promise rejections (#113213)
* [Alerting] Fixed Jest test suites with unhandled promise rejections

* fixed typecheck
2021-09-28 11:05:38 -07:00
..
common [eslint] add rule to prevent export* in plugin index files (#109357) 2021-09-01 18:05:45 -07:00
public [DX] Upgrade prettier to v2.4.0 (#112359) 2021-09-19 22:34:30 -07:00
server [Alerting] Fixed Jest test suites with unhandled promise rejections (#113213) 2021-09-28 11:05:38 -07:00
jest.config.js [jest] update config files to get coverage per plugin (#111299) 2021-09-09 08:14:56 +02:00
kibana.json Adding owners to kibana plugins (#108407) 2021-08-17 10:21:06 -04:00
README.md Rename alerts plugin to alerting (#92898) 2021-03-05 13:59:34 -05:00
tsconfig.json [build_ts_refs] improve caches, allow building a subset of projects (#107981) 2021-08-10 22:12:45 -07: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 AlertType is described in it's own README: