metricspi: Scrape metrics from MinIO backup storage

MinIO exposes metrics in Prometheus exposition format.  By default, it
requires an authentication token to access the metrics, but I was unable
to get this to work.  Fortunately, it can be configured to allow
anonymous access to the metrics, which is fine, in my opinion.
This commit is contained in:
2023-05-22 21:19:25 -05:00
parent 2c002aa7c5
commit c0bb387b18
2 changed files with 9 additions and 0 deletions

View File

@@ -2,3 +2,5 @@ MINIO_ROOT_USER={{ minio_root_user }}
MINIO_ROOT_PASSWORD={{ minio_root_password }}
MINIO_CONSOLE_ADDRESS={{ minio_console_address }}
MINIO_PROMETHEUS_AUTH_TYPE=public