Ori.livneh has uploaded a new change for review. https://gerrit.wikimedia.org/r/319916
Change subject: Fix-up for Ia07b03f12b ...................................................................... Fix-up for Ia07b03f12b Get the right field name. Change-Id: Ib2329d08579ca938584035f290a17bacdcd893d8 --- M modules/webperf/files/navtiming.py 1 file changed, 4 insertions(+), 3 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/operations/puppet refs/changes/16/319916/1 diff --git a/modules/webperf/files/navtiming.py b/modules/webperf/files/navtiming.py index 5701554..a31a093 100755 --- a/modules/webperf/files/navtiming.py +++ b/modules/webperf/files/navtiming.py @@ -206,9 +206,10 @@ @handles('SaveTiming') def handle_save_timing(meta): event = meta['event'] - duration = event.get('duration') - version = event.get('mediaWikiVersion') - if is_sane(duration): + duration = event.get('saveTiming') + if duration is None: + duration = event.get('duration') + if duration and is_sane(duration): dispatch_stat('mw.performance.save', duration) if version: dispatch_stat('mw.performance.save_by_version', -- To view, visit https://gerrit.wikimedia.org/r/319916 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ib2329d08579ca938584035f290a17bacdcd893d8 Gerrit-PatchSet: 1 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Ori.livneh <o...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits