Gehel has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/310748

Change subject: wdqs - send notifications of WDQS lag also to wdqs-admins group
......................................................................

wdqs - send notifications of WDQS lag also to wdqs-admins group

Since there is already a contactgroups defined in hiera, let's reuse it.

monitoring::graphite_threshold is used in a number of places, most of
them specifying a specific contact group, so it does not seem to make
sense to modify it to rely on the hiera contactgroups variable.

Bug: T144948
Change-Id: I0640b4559f77ae1350284f5ccf01c9285051e4ac
---
M modules/wdqs/manifests/monitor/services.pp
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/48/310748/1

diff --git a/modules/wdqs/manifests/monitor/services.pp 
b/modules/wdqs/manifests/monitor/services.pp
index 2c50786..04b26f7 100644
--- a/modules/wdqs/manifests/monitor/services.pp
+++ b/modules/wdqs/manifests/monitor/services.pp
@@ -43,5 +43,6 @@
         warning     => '600', # 10 minutes
         critical    => '1800', # 30 minutes
         percentage  => '30', # Don't freak out on spikes
+        contact_group => hiera('contactgroups', 'admins'),
     }
 }

-- 
To view, visit https://gerrit.wikimedia.org/r/310748
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I0640b4559f77ae1350284f5ccf01c9285051e4ac
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Gehel <gleder...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to