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

Change subject: Log more detailed info in Varnish slow request log
......................................................................

Log more detailed info in Varnish slow request log

Break down the various parts of Varnish processing

Bug: T181315
Change-Id: Ia5ee2a723dc030920cc4931fbcdb782a8c47c578
---
M modules/varnish/templates/initscripts/varnish-slowreqs.systemd.erb
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/51/393751/1

diff --git a/modules/varnish/templates/initscripts/varnish-slowreqs.systemd.erb 
b/modules/varnish/templates/initscripts/varnish-slowreqs.systemd.erb
index 17977d3..619ffc7 100644
--- a/modules/varnish/templates/initscripts/varnish-slowreqs.systemd.erb
+++ b/modules/varnish/templates/initscripts/varnish-slowreqs.systemd.erb
@@ -10,7 +10,7 @@
 Restart=always
 # Note the usage of the %% specifier here.
 # See systemd.unit(5), section SPECIFIERS.
-ExecStart=/usr/bin/varnishncsa <%= @extraopts %> -q 'ReqMethod ne "PURGE" and 
Timestamp:Resp[2] > <%= scope['::varnish::common::log_slow_request_threshold'] 
%>' -F '%{VSL:Timestamp:Resp}x %%r %%s'
+ExecStart=/usr/bin/varnishncsa <%= @extraopts %> -q 'ReqMethod ne "PURGE" and 
Timestamp:Resp[2] > <%= scope['::varnish::common::log_slow_request_threshold'] 
%>' -F '%{VSL:Timestamp:Start[1]}x Start: %{VSL:Timestamp:Start[3]}x Req: 
%{VSL:Timestamp:Req[3]}x Fetch: %{VSL:Timestamp:Fetch[3]}x Process: 
%{VSL:Timestamp:Process[3]}x Resp: %{VSL:Timestamp:Resp[3]}x %%r %%s'
 
 [Install]
 WantedBy=multi-user.target

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

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

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

Reply via email to