Added metric to check task queue size until stop

This commit is contained in:
DanasFi 2025-04-14 18:00:06 -04:00 committed by Tamo
parent 425ef1b205
commit 3d93efc6aa
3 changed files with 19 additions and 1 deletions

View file

@ -78,4 +78,10 @@ lazy_static! {
"Meilisearch Task Queue Used Size"
))
.expect("Can't create a metric");
pub static ref MEILISEARCH_TASK_QUEUE_SIZE_UNTIL_STOP_REGISTERING: IntGauge =
register_int_gauge!(opts!(
"meilisearch_task_queue_size_until_stop_registering",
"Meilisearch Task Queue Size Until Stop Registering",
))
.expect("Can't create a metric");
}