Page MenuHomePhabricator

Add a nicer interface in Spicerack/wmcs-cookbooks to downtime Cloud VPS instances
Open, Needs TriagePublic


T360932: Support downtiming metricsinfra alerts in wmcs-cookbooks introduced support for silencing metricsinfra alerts in wmcs-cookbooks. However the spicerack.alertmanager.AlertmanagerHosts class assumes that it's working with the naming scheme used on the wikiprod Prometheus instances. This means that silencing alerts requires some unnecessary boilerplate in the cookbook itself, see for example. I'd like to introduce a alertmanager_hosts() style interface in Spicerack or wmcs-cookbooks for downtiming Cloud VPS instances more easily.