Ori.livneh has submitted this change and it was merged.

Change subject: navtiming: if sslNegotiation is present, log it but no other 
metrics
......................................................................


navtiming: if sslNegotiation is present, log it but no other metrics

To prevent I6e3167f from biasing the data.

Change-Id: Iedb8c449d3efaa89e889ae80862c62d93aa54bf6
---
M modules/webperf/files/navtiming.py
1 file changed, 3 insertions(+), 0 deletions(-)

Approvals:
  Ori.livneh: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/modules/webperf/files/navtiming.py 
b/modules/webperf/files/navtiming.py
index 34e572d..a6ff89e 100644
--- a/modules/webperf/files/navtiming.py
+++ b/modules/webperf/files/navtiming.py
@@ -101,6 +101,9 @@
     metrics = {k: v for k, v in metrics.items() if is_sane(v)}
     prefix = 'frontend.navtiming'
 
+    if 'sslNegotiation' in metrics:
+        metrics = {'sslNegotiation': metrics['sslNegotiation']}
+
     for metric, value in metrics.items():
         dispatch_stat(prefix, metric, site, auth, value)
         dispatch_stat(prefix, metric, site, 'overall', value)

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Iedb8c449d3efaa89e889ae80862c62d93aa54bf6
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Ori.livneh <[email protected]>
Gerrit-Reviewer: Ori.livneh <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to