mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-30 02:09:57 +00:00
comment the right of the metrics
This commit is contained in:
@ -22,6 +22,7 @@ pub async fn get_metrics(
|
||||
let response = create_all_stats(
|
||||
(*index_scheduler).clone(),
|
||||
(*auth_controller).clone(),
|
||||
// we don't use the filters contained in the `ActionPolicy` because the metrics must have the right to access all the indexes.
|
||||
&AuthFilter::default(),
|
||||
)?;
|
||||
|
||||
|
Reference in New Issue
Block a user