625 wikis
5 metrics per wiki
3125 data points per day
metric names: daily.wikidata.entityusage.{dbname}.{aspect}
Data to be set as a gauge through statsd using the replicated dbs on the analytics cluster.
Script will:
- load https://noc.wikimedia.org/conf/wikidataclient.dblist
- Run SELECT eu_aspect, count(*) FROm {dbname}.wbc_entity_usage GROUP BY eu_aspect for each db
- Send data to statsd and thus graphite
Requires graphite retention periods to be poked