Page MenuHomePhabricator

number of uploads in graphite
Closed, ResolvedPublic

Description

as part of https://wikitech.wikimedia.org/wiki/Incident_documentation/20140622-imagescaler I was searching for the number of uploads to wikis made, but couldn't find anything in graphite. if it isn't already it would be nice to have that as a metric for cases like the above

thanks!


Version: unspecified
Severity: normal

Details

Reference
bz67116

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 3:41 AM
bzimport set Reference to bz67116.
bzimport added a subscriber: Unknown Object (MLST).

there's per-container stats available at e.g. swift.codfw-prod.containers.mw-media.originals.objects on the swift side, not sure about the mediawiki side? @Gilles or @aaron perhaps?

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMar 15 2016, 10:58 AM

I'm not aware of such metrics on the mediawiki side. We might have UploadWizard stats (although not sure those are still collected), but there are many other ways to upload things.

There's decent information in the databases, but that can't be fed into graphite, right? Each wiki has its own DB anyway.

It's probably not that hard to start tracking that in mediawiki with statsd. What do you need it for? To confirm the swift figures?

@Gilles thanks! yeah that too but also I think the higher level the stats is the better since mediawiki has much more context on what's going on