jobqueue: use more sensible metric key names
authorOri Livneh <ori@wikimedia.org>
Mon, 15 Jun 2015 05:31:13 +0000 (22:31 -0700)
committerOri Livneh <ori@wikimedia.org>
Mon, 15 Jun 2015 05:38:02 +0000 (22:38 -0700)
commit427bdb6dbd78e469bdd15f33f9c742b0cc460e61
treead39052529625197cb540b7c18e1a802a4cba0cd
parent6087e38722834dda0e7fb2d6dd267b7f92906620
jobqueue: use more sensible metric key names

* Since JobQueue metrics are qualified with 'jobqueue.', don't add a 'job-'
  prefix to each metric.
* Separate the key from the job type with a dot rather than a dash.
* To avoid having a Graphite node that is both a "directory" and a metric, use
  '.all' as a suffix for aggregates.

Change-Id: I2ac604d3c042dbfb0b3a27759800f435ec22041e
includes/jobqueue/JobQueue.php
includes/jobqueue/JobQueueDB.php
includes/jobqueue/JobQueueRedis.php
includes/jobqueue/JobRunner.php