Alerting: Pause all alerts via API or a button #6589

Closed
utkarshcmu opened this Issue Nov 16, 2016 · 9 comments

Projects

None yet

5 participants

@utkarshcmu
Contributor
utkarshcmu commented Nov 16, 2016 edited

Would like to pause all alerts if there is any issue with the datasource/grafana or when datasource is in maintenance.

@torkelo
Member
torkelo commented Nov 16, 2016 edited

I think a better way would be to pause the alerting engine or scheduler, instead of pausing all alerts

@bergquist
Contributor

Might be cases where you want to pause alerts for just one data source.

@torkelo
Member
torkelo commented Nov 16, 2016

yes, but then you don't pause all alerts. and you come close the territory of silence mechanics.

@utkarshcmu
Contributor

IMO, for v4.0.0, we can have 1 single API or button for Admin which can pause the alerting engine or the scheduler for all alerts. Whenever admin is pausing the alerting engine, he can notify all the stakeholders that Grafana alerting is in maintenance mode due to XYZ reason.

@ichekrygin
Contributor

+1 on pausing alerts for a specific data source
Use-case: I want to upgrade my TSDB instance, and need to pause all alerts associated w/ that data source to during the maintenance window.

@bergquist bergquist added this to the 4.1.0 milestone Dec 6, 2016
@mchesler
mchesler commented Dec 7, 2016

👍 Hadn't realized this feature was missing until I upgraded our TSDB yesterday and set off quite a few unintentional alarms

@bergquist bergquist assigned bergquist and unassigned bergquist Dec 14, 2016
@bergquist bergquist added a commit to bergquist/grafana that referenced this issue Dec 16, 2016
@bergquist bergquist feat(api): adds endpoint for mass pausing alerts
ref #6589
fb6aa0e
@bergquist
Contributor

Closed by #6996

@bergquist bergquist closed this Dec 20, 2016
@utkarshcmu
Contributor

Awesome, thanks @bergquist 👍

@ichekrygin
Contributor

Thank you 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment