kibana/x-pack/plugins/stack_alerts
Dmitry Tomashevich fdf2086eb0
[Discover] Cancel long running requests in Discover alert (#130077)
* [Discover] improve long running requests for search source within alert rule

* [Discover] add tests

* [Discover] fix linting

* [Discover] fix unit test

* [Discover] add getMetrics test

* [Discover] fix unit test

* [Discover] merge search clients metrics

* [Discover] wrap searchSourceClient

* [Discover] add unit tests

* [Discover] replace searchSourceUtils with searchSourceClient in tests

* [Discover] apply suggestions
2022-05-19 10:24:55 +03:00
..
common fix all violations 2022-04-16 01:37:30 -05:00
public [Unified search] Improves the current filter/search experience (#128401) 2022-05-06 10:10:01 +03:00
server [Discover] Cancel long running requests in Discover alert (#130077) 2022-05-19 10:24:55 +03:00
jest.config.js [jest] update config files to get coverage per plugin (#111299) 2021-09-09 08:14:56 +02:00
kibana.json [Unified search] Create unified search plugin (#127651) 2022-04-05 12:23:31 +05: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: