// Copyright 2026 PingCAP, Inc.

use lazy_static::lazy_static;
use prometheus::{IntCounterVec, IntGaugeVec, register_int_counter_vec, register_int_gauge_vec};

lazy_static! {
    pub static ref MEMORY_PROFILE_AUTO_DUMP_ACTION_COUNTER_VEC: IntCounterVec =
        register_int_counter_vec!(
            "tikv_memory_profile_auto_dump_total",
            "Total count of memory profile auto dump actions",
            &["component", "action"],
        )
        .unwrap();
    pub static ref MEMORY_USAGE_GAUGE_VEC: IntGaugeVec = register_int_gauge_vec!(
        "tikv_memory_usage",
        "Memory usage for the instance",
        &["component"]
    )
    .unwrap();
}
