Ottomata has uploaded a new change for review.

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

Change subject: Deploy varnishreqstats on all text caches
......................................................................

Deploy varnishreqstats on all text caches

Bug: T83580
Change-Id: I3ea78f61ea787243eefd517bf1fcca8a51bd17ec
---
M modules/role/manifests/cache/text.pp
1 file changed, 4 insertions(+), 14 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/46/249746/1

diff --git a/modules/role/manifests/cache/text.pp 
b/modules/role/manifests/cache/text.pp
index 2f6a4c7..9c08acc 100644
--- a/modules/role/manifests/cache/text.pp
+++ b/modules/role/manifests/cache/text.pp
@@ -195,19 +195,9 @@
         class { 'role::cache::kafka::webrequest': topic => 'webrequest_text' }
     }
 
-    # Parse varnishlogs for request statistics and send to statsd via diamond.
-    varnish::monitoring::varnishreqstats { 'TextFrontend':
-        instance_name => 'frontend',
-        metric_path   => "varnish.${::site}.text.frontend.request",
-        require       => Varnish::Instance['text-frontend'],
-    }
-
-    # testing on cp1065
-    if $::hostname == 'cp1065' {
-        # Parse varnishlogs for request statistics and send to statsd.
-        varnish::logging::reqstats { 'frontend':
-            metric_prefix => "varnish.${::site}.text.frontend.request",
-            statsd        => hiera('statsd'),
-        }
+    # Parse varnishlogs for request statistics and send to statsd.
+    varnish::logging::reqstats { 'frontend':
+        metric_prefix => "varnish.${::site}.text.frontend.request",
+        statsd        => hiera('statsd'),
     }
 }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3ea78f61ea787243eefd517bf1fcca8a51bd17ec
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Ottomata <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to