nr1-slo-r icon indicating copy to clipboard operation
nr1-slo-r copied to clipboard

Populate Alerts Dropdown from Alerts NerdGraph

Open ricegi opened this issue 4 years ago • 0 comments

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

ricegi avatar Sep 01 '20 18:09 ricegi