Reading/Multimedia/Metrics

This page aims to contain a comprehensive list of metrics and graphs for Media Viewer, both from a usage and technical perspective.

Client-side
These are based on the ResourceTiming API (with a simple timestamp-based fallback for old browsers), collected via EventLogging. See Multimedia/Media Viewer/Metrics/Architecture for details.


 * Global
 * Wikipedias: Catalan, Czech, German, English, Spanish, Estonian, Finnish, French, Hungarian, Italian, Japanese, Korean, Dutch, Polish, Portugese, Romanian, Russian, Slovak, Swedish, Telugu, Thai, Vietnamese
 * Other wikis: Commons, mediawiki.org, English Wikivoyage

Ops

 * Image scalers http://ganglia.wikimedia.org/latest/?r=hour&cs=&ce=&s=by+name&c=Image%2520scalers%2520eqiad&tab=m&vn=&hide-hf=false

These servers are responsible for generating thumbnails, which Media Viewer triggers a lot since thumbnails are generated on-the-fly when they don't exist yet.


 * API methods http://gdash.wikimedia.org/dashboards/apimethods/
 * PHP latency http://gdash.wikimedia.org/dashboards/totalphp/

Media Viewer relies on several APIs on the PHP side, some of which are specific to Media Viewer.


 * StreamFile http://gdash.wikimedia.org/dashboards/filebackend/

Thumbnails, after being generated, are streamed using the StreamFile method.


 * Media Storage http://ganglia.wikimedia.org/latest/?r=hour&cs=&ce=&tab=v&vn=Media+storage&hide-hf=false

Presumably where images are stored. Not sure if originals or thumbs, we should clarify that with ops.


 * MediaWiki.FileBackendStore.* https://graphite.wikimedia.org/render/?width=1045&height=788&_salt=1397062627.257&from=-7days&target=mostDeviant%286%2CMediaWiki.FileBackendStore.*-eqiad.tp50%29


 * MediaWiki.File.transform-doTransform https://graphite.wikimedia.org/render/?width=586&height=308&_salt=1397062971.274&from=-7days&target=MediaWiki.File.transform-doTransform.tp50


 * API call counts: imageinfo, filerepoinfo, globalusage, imageusage, users