Page MenuHomePhabricator

Monitor MediaWiki sessions
Open, HighPublic

Description

We have metrics like MediaWiki.centralauth.session.* and MediaWiki.session.* and MediaWiki.edit.failures.session_loss.rate which should be monitored for high failure or excess latency (the later are from new patches).

The last session problem (T102199) took a fair amount of user reports and debugging (including adding metrics) to try track down. At this point, it would be good to just have monitoring of these metrics to quickly detect these kind of problems, which cause all sorts of random "session lost" errors when people save edits (forcing re-submissions).

Event Timeline

aaron created this task.Aug 13 2015, 7:34 PM
aaron raised the priority of this task from to Needs Triage.
aaron updated the task description. (Show Details)
aaron added projects: acl*sre-team, Availability.
aaron added subscribers: aaron, ori.
Restricted Application added subscribers: Matanya, Aklapper. · View Herald TranscriptAug 13 2015, 7:34 PM
ori renamed this task from Create MediaWiki session monitoring to Monitor MediaWiki sessions.Aug 13 2015, 7:38 PM
ori triaged this task as High priority.
ori updated the task description. (Show Details)
ori set Security to None.
ori added subscribers: fgiunchedi, chasemp.

Change 256422 had a related patch set uploaded (by Filippo Giunchedi):
mediawiki: alarm on session loss and bad tokens

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

Change 256422 abandoned by Filippo Giunchedi:
mediawiki: alarm on session loss and bad tokens

Reason:
See https://gerrit.wikimedia.org/r/#/c/350555/

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