Ori.livneh has uploaded a new change for review.
https://gerrit.wikimedia.org/r/164388
Change subject: Tag NavigationTiming events with PHP5/HHVM
......................................................................
Tag NavigationTiming events with PHP5/HHVM
Follows I85a7327db in mediawiki/extensions/NavigationTiming.git.
Change-Id: Id016f2947864730b14a4a7ecfde3e67457fd7c7d
---
M modules/webperf/files/navtiming.py
1 file changed, 7 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/88/164388/1
diff --git a/modules/webperf/files/navtiming.py
b/modules/webperf/files/navtiming.py
index bd1b020..d13bed1 100644
--- a/modules/webperf/files/navtiming.py
+++ b/modules/webperf/files/navtiming.py
@@ -75,6 +75,7 @@
site = 'mobile' if 'mobileMode' in event else 'desktop'
auth = 'anonymous' if event.get('isAnon') else 'authenticated'
+ runtime = event.get('runtime')
# bits_cache = meta.get('recvFrom', '').split('.')[0]
# wiki = meta.get('wiki', '')
@@ -85,3 +86,9 @@
dispatch_stat(metric, site, auth, value)
dispatch_stat(metric, site, 'overall', value)
dispatch_stat(metric, 'overall', value)
+
+ if runtime is not None:
+ # PHP5/HHVM-qualified metrics
+ dispatch_stat(runtime, metric, site, auth, value)
+ dispatch_stat(runtime, metric, site, 'overall', value)
+ dispatch_stat(runtime, metric, 'overall', value)
--
To view, visit https://gerrit.wikimedia.org/r/164388
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Id016f2947864730b14a4a7ecfde3e67457fd7c7d
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Ori.livneh <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits