fix: typo in cache stat
This commit is contained in:
parent
ebe46345fe
commit
a08c7d09f9
@ -12,7 +12,7 @@ static CACHE_EVICTION_COUNT: Lazy<IntCounterVec> = Lazy::new(||
|
||||
.expect("Could not create NAME_COUNTER")
|
||||
);
|
||||
static CACHE_HITS: Lazy<IntCounterVec> = Lazy::new(||
|
||||
IntCounterVec::new(opts!(format!("{}_{}", std::env::var("ROCKET_PROMETHEUS_NAMESPACE").unwrap_or("app".to_string()), "cache_hists"), "Count of cache eviction"), &[]).expect("Could not create NAME_COUNTER")
|
||||
IntCounterVec::new(opts!(format!("{}_{}", std::env::var("ROCKET_PROMETHEUS_NAMESPACE").unwrap_or("app".to_string()), "cache_hits"), "Count of cache eviction"), &[]).expect("Could not create NAME_COUNTER")
|
||||
);
|
||||
static CACHE_MISSES: Lazy<IntCounterVec> = Lazy::new(||
|
||||
IntCounterVec::new(opts!(format!("{}_{}", std::env::var("ROCKET_PROMETHEUS_NAMESPACE").unwrap_or("app".to_string()), "cache_misses"), "Count of cache eviction"), &[]).expect("Could not create NAME_COUNTER")
|
||||
|
Loading…
Reference in New Issue
Block a user