Ottomata has uploaded a new change for review.

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

Change subject: Log frontend parsoid varnish requests to kafka via varnishkafka
......................................................................

Log frontend parsoid varnish requests to kafka via varnishkafka

Bug: T99372
Change-Id: Ie48a4a9aaf179173e1de029f69c3da3265f118d2
---
M modules/role/manifests/cache/parsoid.pp
1 file changed, 10 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/20/211720/1

diff --git a/modules/role/manifests/cache/parsoid.pp 
b/modules/role/manifests/cache/parsoid.pp
index 851b02b..6bd2381 100644
--- a/modules/role/manifests/cache/parsoid.pp
+++ b/modules/role/manifests/cache/parsoid.pp
@@ -121,4 +121,14 @@
             },
         ]),
     }
+
+    # ToDo: Remove production conditional once this works
+    # is verified to work in labs.
+    if $::realm == 'production' {
+        # Install a varnishkafka producer to send
+        # varnish webrequest logs to Kafka.
+        class { 'role::cache::kafka::webrequest':
+            topic => 'webrequest_parsoid',
+        }
+    }
 }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie48a4a9aaf179173e1de029f69c3da3265f118d2
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Ottomata <o...@wikimedia.org>

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

Reply via email to