From 11c0153444b3d02bb70a9f6e3631b9e082a1cc70 Mon Sep 17 00:00:00 2001 From: drunkendog Date: Wed, 20 Dec 2023 17:57:20 +0000 Subject: [PATCH] Add scripts/minio/README.md --- scripts/minio/README.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 scripts/minio/README.md diff --git a/scripts/minio/README.md b/scripts/minio/README.md new file mode 100644 index 0000000..0d52cf0 --- /dev/null +++ b/scripts/minio/README.md @@ -0,0 +1,21 @@ +# Minio + +## Configuring Prometheus + +Create a user `prometheus` with policy + +```s3 +{ + "Version": "2012-10-17", + "Statement": [ + { + "Effect": "Allow", + "Action": [ + "admin:Prometheus" + ] + } + ] +} +``` + +then run `mc alias set metrics http://172.30.26.1:9000 prometheus {password} && mc admin prometheus generate metrics` and add the output into /opt/prometheus/prometheus.yml \ No newline at end of file