diff --git a/crates/meilisearch/src/routes/metrics.rs b/crates/meilisearch/src/routes/metrics.rs index bf5d6741c..daae66c2e 100644 --- a/crates/meilisearch/src/routes/metrics.rs +++ b/crates/meilisearch/src/routes/metrics.rs @@ -14,10 +14,8 @@ use utoipa::OpenApi; use time::OffsetDateTime; -use crate::extractors::authentication::policies::ActionPolicy; -use crate::extractors::authentication::{AuthenticationError, GuardedData}; -use crate::routes::create_all_stats; -use crate::search_queue::SearchQueue; +use index_scheduler::Query; +use meilisearch_types::tasks::Status; #[derive(OpenApi)] #[openapi(paths(get_metrics))]