You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
synctv/synctv-core/src/metrics/rate_limit.rs

11 lines
328 B
Rust

use super::*;
pub static RATE_LIMIT_REDIS_FALLBACKS_TOTAL: std::sync::LazyLock<IntCounterVec> =
std::sync::LazyLock::new(|| {
int_counter_vec(
"rate_limit_redis_fallbacks_total",
"Total Redis errors that triggered in-memory rate limit fallback",
&["category"],
)
});