sapling/fastmanifest
Tony Tung 38faebe31d [fastmanifest] the key of of the hit ratio should be the aggregating key
Summary: If the key as always 'ratio', then all the ratios are aliased when we send off aggregate stats.  That means we end up sending the last entry, rather than each individual entry.

Test Plan:
along with D3504940

run FB_HG_DIAGS= hg diff -c .:

```
    "int": {
        "builddate": 1467289392,
        "cachehitratio": 100,
        "consumed": 489,
        "diffcachehitratio": -1,
        "elapsed": 280,
        "errorcode": 0,
        "filesnotincachehitratio": 0,
        "time": 1467318481
    },
```

Reviewers: lcharignon

Reviewed By: lcharignon

Subscribers: mitrandir, mjpieters

Differential Revision: https://phabricator.intern.facebook.com/D3505464

Tasks: 12019647

Signature: t1:3505464:1467320144:327e0d306b9afa90ed9fc2d704a8ca02a79f3038
2016-06-30 13:59:40 -07:00
..
__init__.py fastmanifest: do not store ui in metricscollector 2016-06-30 11:51:06 -07:00
cachemanager.py fastmanifest: do not store ui in metricscollector 2016-06-30 11:51:06 -07:00
concurrency.py [fastmanifest] update comment to reflect the ugly truth 2016-06-24 16:13:21 -07:00
constants.py fastmanifest: add documentation of constants 2016-06-08 14:28:14 -07:00
debug.py [fastmanifest] move remaining fastmanifest.py code to debug.py 2016-05-26 17:05:19 -07:00
implementation.py fastmanifest: do not store ui in metricscollector 2016-06-30 11:51:06 -07:00
metrics.py [fastmanifest] the key of of the hit ratio should be the aggregating key 2016-06-30 13:59:40 -07:00