kibana/x-pack/plugins/alerting_builtins
Pierre Gayvallet fe1c508d8d
Move and rename legacy elasticsearch client (#69797)
* move last snapshot to inline

* move legacy files to legacy subfolder

* move request types out of legacy

* export Headers from http instead of elasticsearch

* renaming - first pass

* renaming - second pass

* fix core mocks

* adapt new calls

* update generated doc

* fix IT test mocks

* fix new usages
2020-06-29 17:43:31 +02:00
..
common/alert_types/index_threshold [Alerting] replace index threshold graph usage of watcher APIs with new API (#59385) 2020-03-06 10:26:52 -05:00
server Move and rename legacy elasticsearch client (#69797) 2020-06-29 17:43:31 +02:00
kibana.json Changed alerting API endpoints urls, bodies and params to follow Kibana STYLEGUIDE (#66838) 2020-06-01 18:45:36 -07:00
README.md Changed alerting API endpoints urls, bodies and params to follow Kibana STYLEGUIDE (#66838) 2020-06-01 18:45:36 -07:00

alerting_builtins plugin

This plugin provides alertTypes shipped with Kibana for use with the the alerts plugin. When enabled, it will register the built-in alertTypes with 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 built-in alertType is described in it's own README: