Page MenuHomePhabricator

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

Description

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

Checklist:

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

Notes

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

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

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

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

Tarrow added a subscriber: Tarrow.

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

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

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

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