newrelic / nr1-slo-r

NR1 SLO-R allows you to define, calculate and report on service-level objective (SLO) attainment.
https://discuss.newrelic.com/t/track-your-service-level-objectives-with-the-slo-r-nerdpack/90046
Apache License 2.0
21 stars 21 forks source link

Populate Alerts Dropdown from Alerts NerdGraph #114

Open ricegi opened 4 years ago

ricegi commented 4 years ago

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