-
Notifications
You must be signed in to change notification settings - Fork 8.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Alerting] Add event log entry when an action starts executing #102370
[Alerting] Add event log entry when an action starts executing #102370
Conversation
Pinging @elastic/kibana-alerting-services (Team:Alerting Services) |
Do you think this belongs in the There is already an In the |
For reference, this is the new
|
@ymao1 You're absolutely right - I'll move it, thanks! I also should update the tests here to include this new event log type: https://github.com/elastic/kibana/blob/master/x-pack/test/alerting_api_integration/spaces_only/tests/actions/execute.ts |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Verified there was an execute-start
event provided by the actions plugin with a start time for every action execution
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
💚 Build SucceededMetrics [docs]
History
To update your PR or re-run it, just comment with: |
…ic#102370) * First steps for adding action execution to event log * Fix tests * Move the event to the actions plugin * Update functional tests * Fix tests * Fix types
…) (#103001) * First steps for adding action execution to event log * Fix tests * Move the event to the actions plugin * Update functional tests * Fix tests * Fix types
Resolves #102358
This PR adds an additional event to the event log that indicates when an action starts executing. Currently, we only log to the event log when the action finishes execution which helps us understand what actions finished execution (technically, just scheduled as we do not wait for action execution to completely finish) and when, but it does not tell us which actions started executing but never finished. This PR aims to address this which will help diagnose issues with actions not executing as expected.