Update meilisearch-http/src/routes/mod.rs

Co-authored-by: Tamo <irevoire@protonmail.ch>
This commit is contained in:
Pavo-Tusker 2022-08-11 11:38:06 +05:30 committed by mohandasspat
parent 25fecf9360
commit 1f1482e97c

View File

@ -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() {