nr1-slo-r
nr1-slo-r copied to clipboard
Populate Alerts Dropdown from Alerts NerdGraph
Summary
The alerts dropdown is populated by appearance of an Alert in the slor_alert event in the past 7 days. Instead provide the option to see / search any Alerts in the account where the entity reports.
Desired Behaviour
Create an SLI based on any alert in an account
Possible Solution
Populate with graphql for account
{ actor { account(id: XXXX) { alerts { policiesSearch { nextCursor policies { accountId id name } } } } } }
Additional context
Provide a way to automate the creation of the webhook needed to keep track of these alert firings until we have better alert, entity granularity