grafana / incident-community

Public repository for Grafana Incident feedback, bug reports, discussions, and updates.
25 stars 2 forks source link

Programmatically create an Incident and page team #96

Open orenlion1 opened 5 months ago

orenlion1 commented 5 months ago

We would like programmatically create an Incident and specify which team to page.

Based on the API schema for an Incident object, there does not seem to be a field for this: https://grafana.com/docs/grafana-cloud/alerting-and-irm/incident/api/reference/#grafana-incident

Our use case is

We’re aiming to replace OpsGenie with IRM but as you can see, this automation in the process will need manual workarounds until something comparable in your API is released.

If a team always needs to get paged for an incident, shouldn’t that be easy to do through your API?

orenlion1 commented 5 months ago

Another use case that the team thought of is the ability for a high severity alert initiate an Incident and page the team.

paulcoghlan commented 4 months ago

Hi @orenlion1 - just following up here incase anyone missed the related conversation with @mackgorski in Slack.

We're looking to improve our API support to cover scenarios like this, but meanwhile the following will work:

Kind regards, Paul