aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.terraform/1n_nmd/prometheus/conf
diff options
context:
space:
mode:
authorpmikus <pmikus@cisco.com>2021-11-08 12:50:51 +0100
committerPeter Mikus <pmikus@cisco.com>2021-11-11 07:25:59 +0000
commitdb7290d702450430e0d58e23f91e34407e08b41c (patch)
tree0350486f05197be82d57755df0dc17b4a71acc97 /fdio.infra.terraform/1n_nmd/prometheus/conf
parent5390d5cedf42ecc0d589d79a0a9d1b346ebb5c11 (diff)
feat(Terraform): Minio S3 gateway proxy
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: I9543a856a2e5791b61accd7a183bc5a2bf2e6187
Diffstat (limited to 'fdio.infra.terraform/1n_nmd/prometheus/conf')
-rw-r--r--fdio.infra.terraform/1n_nmd/prometheus/conf/nomad/prometheus.hcl7
1 files changed, 7 insertions, 0 deletions
diff --git a/fdio.infra.terraform/1n_nmd/prometheus/conf/nomad/prometheus.hcl b/fdio.infra.terraform/1n_nmd/prometheus/conf/nomad/prometheus.hcl
index 368a361184..2019aeba96 100644
--- a/fdio.infra.terraform/1n_nmd/prometheus/conf/nomad/prometheus.hcl
+++ b/fdio.infra.terraform/1n_nmd/prometheus/conf/nomad/prometheus.hcl
@@ -596,6 +596,13 @@ scrape_configs:
- server: '{{ env "NOMAD_IP_prometheus" }}:8500'
services: [ 'storage' ]
metrics_path: /minio/prometheus/metrics
+
+ - job_name: 'Minio Proxy'
+ bearer_token: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJleHAiOjQ3OTAwNjE1NDIsImlzcyI6InByb21ldGhldXMiLCJzdWIiOiJBS0lBUTJBSDdZUFBXVDZDV1hYSSJ9.CU9x9j-yO0_Uta5iep6yqNiGQPolrr2608E3lpU6Yg21rIv_eOwS5zqzXaSvrhzkJP9H5kO1Pj6kqjYhbqjN_w
+ consul_sd_configs:
+ - server: '{{ env "NOMAD_IP_prometheus" }}:8500'
+ services: [ 'minio' ]
+ metrics_path: /minio/v2/metrics/cluster
EOH
}