sapling/filenodes
Kostia Balytskyi 039d3942e8 sql: do not use shard_id in fb303 counter names
Summary:
Before this change, we would always include the shard id in our mysql-related fb303 counters. This is not perfect for two reasons:
- the the xdb blobstore we have 4K shards and 24 counters, so we were reporting 96K counters in total
- we rarely care about per-counter metrics anyway, since in most cases all queries are uniformly distributed

Therefore, let's change this approach to not use per-shard counters and use per-shardmap ones (when sharding is involved).

Reviewed By: krallin

Differential Revision: D16360591

fbshipit-source-id: b2df94a3ca9cacbf5c1f328b48e87b48cd18287e
2019-07-19 06:30:40 -07:00
..
if mononoke: rename crates to contain underscores instead of dashes 2019-03-06 07:18:28 -08:00
sqlfilenodes sql: do not use shard_id in fb303 counter names 2019-07-19 06:30:40 -07:00
src Modify abomonation_future_cache to use VolatileLruCachePool 2019-06-21 23:35:07 -07:00
Cargo.toml Transition fbcode Rust crates to 2018 edition 2019-06-24 13:15:17 -07:00