sapling/eden/mononoke/common
Thomas Orozco b766407054 mononoke/caching_ext: unify our cache stats reporting
Summary:
I'd like to lower the bar to entry as much as possible to use caching in e.g.
mappings. One thing that's a little annoying to setup right now is stats. Let's
unify those.

This does mean the stats names for mappings that had them will change, but I
think that's probably OK here.

A few notes about the implementation:

- I made the stats objects singletons, because ultimately that *is* what stats
  are under the hood.
- I made a macro to define the singleton because that was otherwise really
  verbose.

Reviewed By: farnz

Differential Revision: D25461182

fbshipit-source-id: f30d0908c40d8e0010c546ec95a385a06d557757
2020-12-10 12:01:45 -08:00
..
allocation_tracing mononoke: reverse autocargo include list to excludes 2020-05-06 08:43:18 -07:00
async_limiter Regenerate all Cargo.tomls after upgrade to futures 0.3.5 2020-07-06 20:49:43 -07:00
bounded_traversal add variant of bounded_traversal_stream which accepts children in the form of a stream 2020-10-07 03:38:28 -07:00
dedupmap rust: update rust to 1.47.0 2020-10-15 17:28:02 -07:00
iterhelpers common: add iterhelpers 2020-10-04 23:51:03 -07:00
rust mononoke/caching_ext: unify our cache stats reporting 2020-12-10 12:01:45 -08:00
scribe_ext mononoke: add Scribe 2020-06-29 12:15:22 -07:00
scuba_ext scuba: turn ScubaSampleBuilderExt into a wrapper struct 2020-11-30 21:26:24 -08:00
sql_construct mononoke/mysql: share single connection pool in the same SMC between shards 2020-11-05 05:34:22 -08:00
topo_sort Prepare for rustfmt 2.0 2020-09-08 07:33:16 -07:00
type_map make it possible to store arbitrary type in blobrepo with dependency on it 2020-06-22 07:29:19 -07:00
uniqueheap mononoke: make blobrepo and its dependencies OSS buildable 2020-03-31 04:02:45 -07:00