resourceloader: Use increment() for resourceloader_cache miss metric
authorTimo Tijhof <krinklemail@gmail.com>
Tue, 1 Sep 2015 19:15:53 +0000 (21:15 +0200)
committerOri.livneh <ori@wikimedia.org>
Wed, 2 Sep 2015 04:22:40 +0000 (04:22 +0000)
commitf28e51adafc0c8a40518d6f9f58b340c7d9a5087
treec130d496e780f63016453079624b81c6a8875e2a
parentfe1cd2e05d4d00ce0890caf8e7e32d51bceeb27c
resourceloader: Use increment() for resourceloader_cache miss metric

This makes it consistent with how we handle the resourceloader_cache hit metric.

When I added the miss metric I figured it was nice to get both counts and timings
in a single metric, but I can't trust StatsD/Graphite not to screw this up so
let's untangle them to be sure.

Change-Id: I24f68e34a9fa491806fdb6023bdd757f6688c2ed
includes/resourceloader/ResourceLoader.php