sapling/filenodes/sqlfilenodes
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
..
schemas mononoke: remove mysql schemas 2019-02-08 03:04:01 -08:00
src sql: do not use shard_id in fb303 counter names 2019-07-19 06:30:40 -07:00
test mononoke: remove unnecessary extern crate 2019-07-12 11:37:06 -07:00