Page MenuHomePhabricator

Submit app client library errors as client error events
Open, LowPublic

Description

Errors encountered by app client libraries, should be submitted to the event platform as client error events so that we can be alerted to problems without affecting the end user experience. Such errors might include stream misconfigurations as well as things like HTTP errors.

Both app client libraries will need updates to support configurable destination event services. This already mostly exists in the Java library but will need to be added from scratch in the Swift library.

Do we need a dedicated stream and/or schema for this? mediawiki.client.error (stream) and mediawiki/client/error (schema) don't seem quite on point for the apps, but could be used.

The MediaWiki-oriented libraries (PHP & JS) will make use of native MediaWiki error logging.

Event Timeline

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

[mediawiki/libs/metrics-platform@master] [Java] Restore support for multiple destination event services

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

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

[mediawiki/libs/metrics-platform@master] [Swift] Add support for multiple destination event services

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

Change 720388 merged by jenkins-bot:

[mediawiki/libs/metrics-platform@master] [Java] Restore support for multiple destination event services

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

Change 720403 merged by jenkins-bot:

[mediawiki/libs/metrics-platform@master] [Swift] Add support for multiple destination event services

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

JVanderhoop-WMF moved this task from Incoming to READY TO GROOM on the Test Kitchen board.