diff --git a/grafana-central.nomad b/grafana-central.nomad index c27c3906a6649319d6e937dda60140cd067c9238..e3bb13611b8d9c68fab2ec6a59e8a99787a5642d 100644 --- a/grafana-central.nomad +++ b/grafana-central.nomad @@ -54,6 +54,7 @@ job "central-management" { env { MINIO_ROOT_USER = "minioadmin" MINIO_ROOT_PASSWORD = "minioadmin" + MINIO_PROMETHEUS_AUTH_TYPE = "public" } resources { @@ -327,6 +328,10 @@ job "central-management" { destination_name = "mimir" local_bind_port = 9009 } + upstreams { + destination_name = "s3-storage" + local_bind_port = 9000 + } } } } diff --git a/prometheus-central/prometheus.yml b/prometheus-central/prometheus.yml index 3657c60c0ac98daf918981b99fcd30b7c9fa382a..5ef8608f64a290c1b056bbdf5385c33b28122465 100644 --- a/prometheus-central/prometheus.yml +++ b/prometheus-central/prometheus.yml @@ -50,3 +50,8 @@ scrape_configs: - job_name: grafana static_configs: - targets: ["grafana-central:3000"] + - job_name: minio + metrics_path: /minio/v2/metrics/cluster + scheme: https + static_configs: + - targets: ["localhost:9000"]