diff --git a/meilisearch-http/src/routes/mod.rs b/meilisearch-http/src/routes/mod.rs index 469e747d8..6d7a6f27a 100644 --- a/meilisearch-http/src/routes/mod.rs +++ b/meilisearch-http/src/routes/mod.rs @@ -280,7 +280,6 @@ pub async fn get_metrics( let response = meilisearch.get_all_stats(search_rules).await?; crate::metrics::MEILISEARCH_DB_SIZE.set(response.database_size as i64); - crate::metrics::MEILISEARCH_INDEX_COUNT.set(response.indexes.len() as i64); for (index, value) in response.indexes.iter() {