diff --git a/meilisearch-http/src/routes/mod.rs b/meilisearch-http/src/routes/mod.rs index 8c387f2af..e27141875 100644 --- a/meilisearch-http/src/routes/mod.rs +++ b/meilisearch-http/src/routes/mod.rs @@ -289,7 +289,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() {