[MediaWiki-commits] [Gerrit] operations/puppet[production]: Log more detailed info in Varnish slow request log

2017-11-28 Thread Ema (Code Review)
Ema has submitted this change and it was merged. ( 
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(-)

Approvals:
  Ema: Verified; Looks good to me, approved
  jenkins-bot: Verified



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: merged
Gerrit-Change-Id: Ia5ee2a723dc030920cc4931fbcdb782a8c47c578
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Gilles 
Gerrit-Reviewer: BBlack 
Gerrit-Reviewer: Ema 
Gerrit-Reviewer: Imarlier 
Gerrit-Reviewer: jenkins-bot <>

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


[MediaWiki-commits] [Gerrit] operations/puppet[production]: Log more detailed info in Varnish slow request log

2017-11-28 Thread Gilles (Code Review)
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 

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