mononoke: Change stats prefix

Summary:
The stats prefix for bonsai hg mapping is "bonsai-hg-mapping" in lib.rs and
"bonsai_hg_mapping" in caching.rs. Convert lib.rs's prefix to match that of caching.rs,
making it easier to find stats.

Reviewed By: StanislavGlebik, farnz

Differential Revision: D16357147

fbshipit-source-id: f9c5bfa5a43c9b8c06ac8cb3b250cdf8fe689a28
This commit is contained in:
Harvey Hunt 2019-07-18 06:19:40 -07:00 committed by Facebook Github Bot
parent 539ecee7ec
commit 2504ed8b40

View File

@ -33,7 +33,7 @@ pub use crate::errors::*;
pub use crate::mem_writes::MemWritesBonsaiHgMapping;
define_stats! {
prefix = "mononoke.bonsai-hg-mapping";
prefix = "mononoke.bonsai_hg_mapping";
gets: timeseries(RATE, SUM),
gets_master: timeseries(RATE, SUM),
adds: timeseries(RATE, SUM),