Skip to content
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] support for watcher-like "dynamic attachments" #64247

Open
pmuellr opened this issue Apr 22, 2020 · 2 comments
Open

[Alerting] support for watcher-like "dynamic attachments" #64247

pmuellr opened this issue Apr 22, 2020 · 2 comments
Labels
discuss enhancement New value added to drive a business result estimate:needs-research Estimated as too large and requires research to break down into workable issues Feature:Alerting/RuleActions Issues related to the Actions attached to Rules on the Alerting Framework Feature:Alerting Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams)

Comments

@pmuellr
Copy link
Member

pmuellr commented Apr 22, 2020

Watcher provides a facility for extending the JSON payload of actions based on data coming from the output returned by executing the input. For example, populating Slack attachments from the output of an ES query.

We'd need a facility similar to this, to handle populating dynamic arrays of objects in a payload for a service. For example, populating a links property in PagerDuty.

Lots of conceptual problems here:

  • alerts and their actions don't really know about each other, and it seems unlikely that data would "just work" between an alert and action. For instance, in the PagerDuty example, an alert might have a list of links to provide to an action, but it's unlikely to know the exact shape that will work with every action, so who converts, say, an array of URLs from the alert, into an array of {href, text} objects. Or should every alert provide a list of URLs in every format an action might want?

  • are there cases where you'd want a fixed set of links (which you could set as parameters to the action) and then be able to add more from the alert dynamically?

  • what does the UI look like for this?

@pmuellr pmuellr added enhancement New value added to drive a business result Feature:Alerting Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) labels Apr 22, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-alerting-services (Team:Alerting Services)

@mikecote
Copy link
Contributor

To research / discuss more

@gmmorris gmmorris added the Feature:Alerting/RuleActions Issues related to the Actions attached to Rules on the Alerting Framework label Jul 1, 2021
@gmmorris gmmorris added the loe:needs-research This issue requires some research before it can be worked on or estimated label Jul 14, 2021
@gmmorris gmmorris added the estimate:needs-research Estimated as too large and requires research to break down into workable issues label Aug 18, 2021
@gmmorris gmmorris removed the loe:needs-research This issue requires some research before it can be worked on or estimated label Sep 2, 2021
@kobelb kobelb added the needs-team Issues missing a team label label Jan 31, 2022
@botelastic botelastic bot removed the needs-team Issues missing a team label label Jan 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discuss enhancement New value added to drive a business result estimate:needs-research Estimated as too large and requires research to break down into workable issues Feature:Alerting/RuleActions Issues related to the Actions attached to Rules on the Alerting Framework Feature:Alerting Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams)
Projects
No open projects
Development

No branches or pull requests

5 participants