Elukey has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/398455 )

Change subject: profile::cache::kafka::webrequest::jumbo: add graphite metrics
......................................................................

profile::cache::kafka::webrequest::jumbo: add graphite metrics

This will be useful to detect issues when rolling over the
new vk testing instance to cache::misc.

Change-Id: I2eb7f4e1f4a3533a6d526018d9e21f28c25c5950
---
M modules/profile/manifests/cache/kafka/webrequest/jumbo.pp
1 file changed, 9 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/55/398455/1

diff --git a/modules/profile/manifests/cache/kafka/webrequest/jumbo.pp 
b/modules/profile/manifests/cache/kafka/webrequest/jumbo.pp
index 65d6b18..f7f5218 100644
--- a/modules/profile/manifests/cache/kafka/webrequest/jumbo.pp
+++ b/modules/profile/manifests/cache/kafka/webrequest/jumbo.pp
@@ -151,6 +151,15 @@
         ],
     }
 
+    $graphite_metric_prefix = 
"varnishkafka.${::hostname}.webrequest_jumbo_duplicate.${cache_cluster}"
+
+    # Sets up Logster to read from the Varnishkafka instance stats JSON file
+    # and report metrics to statsd.
+    varnishkafka::monitor::statsd { 'webrequest-jumbo-duplicate':
+        graphite_metric_prefix => $graphite_metric_prefix,
+        statsd_host_port       => $statsd_host,
+    }
+
     # Make sure varnishes are configured and started for the first time
     # before the instances as well, or they fail to start initially...
     Service <| tag == 'varnish_instance' |> -> 
Varnishkafka::Instance['webrequest-jumbo-duplicate']

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I2eb7f4e1f4a3533a6d526018d9e21f28c25c5950
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Elukey <ltosc...@wikimedia.org>

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

Reply via email to