Skip to content

Commit

Permalink
[Alerting] Add event log entry when a rule starts executing (elastic#…
Browse files Browse the repository at this point in the history
…102001) (elastic#102558)

* Add event log entry when a rule starts executing

* Add in alertId

* Add more logging and fix tests

* Use existing startTiming logic

* Add additional tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
  • Loading branch information
chrisronline and kibanamachine authored Jun 17, 2021
1 parent 2f0b295 commit 3f80932
Show file tree
Hide file tree
Showing 4 changed files with 795 additions and 221 deletions.
1 change: 1 addition & 0 deletions x-pack/plugins/alerting/server/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ import { AlertingAuthorization } from './authorization';
export const EVENT_LOG_PROVIDER = 'alerting';
export const EVENT_LOG_ACTIONS = {
execute: 'execute',
executeStart: 'execute-start',
executeAction: 'execute-action',
newInstance: 'new-instance',
recoveredInstance: 'recovered-instance',
Expand Down
Loading

0 comments on commit 3f80932

Please sign in to comment.