diff options
Diffstat (limited to 'fdio.infra.terraform/1n_nmd/prometheus')
-rw-r--r-- | fdio.infra.terraform/1n_nmd/prometheus/conf/nomad/prometheus.hcl | 7 | ||||
-rw-r--r-- | fdio.infra.terraform/1n_nmd/prometheus/versions.tf (renamed from fdio.infra.terraform/1n_nmd/prometheus/providers.tf) | 4 |
2 files changed, 9 insertions, 2 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 } diff --git a/fdio.infra.terraform/1n_nmd/prometheus/providers.tf b/fdio.infra.terraform/1n_nmd/prometheus/versions.tf index 1399201d21..b80610a525 100644 --- a/fdio.infra.terraform/1n_nmd/prometheus/providers.tf +++ b/fdio.infra.terraform/1n_nmd/prometheus/versions.tf @@ -2,11 +2,11 @@ terraform { required_providers { nomad = { source = "hashicorp/nomad" - version = "~> 1.4.9" + version = "~> 1.4.15" } template = { source = "hashicorp/template" - version = "~> 2.1.2" + version = "~> 2.2.0" } } required_version = ">= 1.0.3" |