Page MenuHomePhabricator

Investigate how to aggregate Wikibase Timeout errors by their api-action or special page
Closed, DeclinedPublic

Description

To be able to better judge the impact of timeout errors, it would be incredibly useful to aggregate them by their source, i.e. during which operation they occur. While looking at URLs in the Wikibase Timeout dashboard it seems those timeouts occur predominately during API or special page requests. Therefore it would helpful to visualize these in a table that could look like the following:

SourceCount
Special:EntityData100
wbgetentities95
wbcheckconstraints40
/rpc/RunSingleJob.php5
other2

Problem: The information on which entry-point a timeout happens is encoded in urls like /w/api.php?action=wbeditentities&ids=Q1032%7CQ766%7CQ863%7C.... and needs to be parsed out, probably with a regular expression or some script.

Tasks:

  • Investigate if it is possible to parse the URL in such a way into a field in logstash

Resources

Event Timeline

lmata triaged this task as Medium priority.Jun 9 2021, 4:15 AM
lmata moved this task from Inbox to Backlog on the observability board.
WMDE-leszek subscribed.

Can be looked again in a different or similar context if WMDE team(s) intend so. A new task will be opened in such a case.