comment the right of the metrics

This commit is contained in:
Tamo 2023-02-23 13:25:08 +01:00
parent 8d47d2d018
commit 8a1b1a95f3
2 changed files with 2 additions and 1 deletions

View file

@ -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(),
)?;