Gehel has uploaded a new change for review.
https://gerrit.wikimedia.org/r/305020
Change subject: WDQS - fix icinga graphite check, metric has been renamed
......................................................................
WDQS - fix icinga graphite check, metric has been renamed
Metrics published by varnish have been renamed. Check needs to be updated.
Bug: T138546
Change-Id: I58108005bd2145a4b09d78c4605424d63d430f62
---
M modules/wdqs/manifests/monitor/blazegraph.pp
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/20/305020/1
diff --git a/modules/wdqs/manifests/monitor/blazegraph.pp
b/modules/wdqs/manifests/monitor/blazegraph.pp
index 9d59481..8105a5c 100644
--- a/modules/wdqs/manifests/monitor/blazegraph.pp
+++ b/modules/wdqs/manifests/monitor/blazegraph.pp
@@ -28,6 +28,7 @@
# raise a warning / critical alert if response time was over 2 minutes / 5
minutes
# more than 5% of the time during the last minute
+ $sanitized_hostname = regsubst($::hostname, '\\.', '_', 'G')
monitoring::graphite_threshold { 'wdqs-response-time':
description => 'Response time of WDQS',
metric => "varnish.eqiad.backends.be_${::hostname}.GET.p99",
--
To view, visit https://gerrit.wikimedia.org/r/305020
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I58108005bd2145a4b09d78c4605424d63d430f62
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Gehel <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits