Page MenuHomePhabricator

mediawiki - node: log (failed) connections
Closed, ResolvedPublic3 Estimated Story Points


In order to be able to debug and monitor health of the rendering service we should log failed requests.


  • How often is the timeout hit
  • Do we get a response from the service that is not 200


Decisions Made
Logs are not specially namespaced beyond Wikibase but mention the method name to aid in making them discoverable in Logstash. Seems to follow precedence.
Metrics will go in wikibase.repo.TermboxRemoteRenderer.unsuccessfulResponse and wikibase.repo.TermboxRemoteRenderer.requestTimeout.

Event Timeline

Pablo-WMDE created this task.
Lea_WMDE set the point value for this task to 3.

Change 508846 had a related patch set uploaded (by Tarrow; owner: Tarrow):
[mediawiki/extensions/Wikibase@master] Add logging to Wikibase channel for TermboxRemoteRenderer failures

Change 509093 had a related patch set uploaded (by Tarrow; owner: Tarrow):
[mediawiki/extensions/Wikibase@master] TermboxRemoteRenderer add stats logging

Tarrow added a subscriber: Tarrow.

Change 508846 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] TermboxRemoteRenderer: Add failure logging to Wikibase channel

Change 509093 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] TermboxRemoteRenderer add stats logging