Page MenuHomePhabricator

Metrics Platform events from JS occasionally provide invalid meta.domain
Closed, ResolvedPublicBUG REPORT

Description

The Metrics Platform currently in JS sets meta.domain to the value of location.hostname. Occasionally this is undefined, causing events to fail validation because meta.domain must be a non-empty string.

Event Timeline

Change 674695 had a related patch set uploaded (by Mholloway; author: Michael Holloway):

[mediawiki/extensions/EventLogging@master] [MEP] Set meta.domain to wgServerName

https://gerrit.wikimedia.org/r/674695

Mholloway triaged this task as Medium priority.Apr 15 2021, 7:28 PM
Mholloway moved this task from Inbox to QA/Review on the Better Use Of Data board.

Change 674695 merged by jenkins-bot:

[mediawiki/extensions/EventLogging@master] [MEP] Use wgServerName to set webHost and meta.domain

https://gerrit.wikimedia.org/r/674695