@@ -23,24 +23,28 @@ scrape_configs:
2323 static_configs :
2424 - targets : ["prometheus-server.fqdn.com:9090"]
2525
26- # ################################ #
27- # Pure Storage FlashArray Number 1 #
28- # ################################ #
26+ # ################################## #
27+ # Pure Storage FlashArray Number 1 #
28+ # Running Purity//FA 6.7.0 or higher #
29+ # ################################## #
2930# Create a single scrape job for each selected metric endpoint per FlashArray.
3031# It is NOT recommended to scrape the root /metrics endpoint as it can be an expensive query.
3132# Scrape job for Pure Storage FlashArray 1 scraping /metrics/array
3233 - job_name : ' purefa_array_arrayname01'
3334 metrics_path : /metrics/array
35+ scheme : https
36+ tls_config :
37+ insecure_skip_verify : true
3438 # Bearer authorization token
3539 authorization :
3640 credentials : 11111111-1111-1111-1111-111111111111
3741 params :
38- endpoint : ['arrayname01.fqdn.com']
42+ namespace : purefa
3943
4044 static_configs :
4145 # purefa openmetrics exporter
4246 - targets :
43- - purefa-openmetrics-exporter .fqdn.com:9490
47+ - arrayname01 .fqdn.com
4448 labels :
4549 location : uk
4650 site : London
@@ -50,16 +54,19 @@ scrape_configs:
5054# Scrape job for Pure Storage FlashArray 1 scraping /metrics/volumes
5155 - job_name : ' purefa_volumes_arrayname01'
5256 metrics_path : /metrics/volumes
57+ scheme : https
58+ tls_config :
59+ insecure_skip_verify : true
5360 # Bearer authorization token
5461 authorization :
5562 credentials : 11111111-1111-1111-1111-111111111111
5663 params :
57- endpoint : ['arrayname01.fqdn.com']
64+ namespace : purefa
5865
5966 static_configs :
6067 # purefa openmetrics exporter
6168 - targets :
62- - purefa-openmetrics-exporter .fqdn.com:9490
69+ - arrayname01 .fqdn.com
6370 labels :
6471 location : uk
6572 site : London
@@ -69,16 +76,19 @@ scrape_configs:
6976# Scrape job for Pure Storage FlashArray 1 scraping /metrics/hosts
7077 - job_name : ' purefa_hosts_arrayname01'
7178 metrics_path : /metrics/hosts
79+ scheme : https
80+ tls_config :
81+ insecure_skip_verify : true
7282 # Bearer authorization token
7383 authorization :
7484 credentials : 11111111-1111-1111-1111-111111111111
7585 params :
76- endpoint : ['arrayname01.fqdn.com']
86+ namespace : purefa
7787
7888 static_configs :
7989 # purefa openmetrics exporter
8090 - targets :
81- - purefa-openmetrics-exporter .fqdn.com:9490
91+ - arrayname01 .fqdn.com
8292 labels :
8393 instance : arrayname01
8494 location : uk
@@ -88,16 +98,19 @@ scrape_configs:
8898# Scrape job for Pure Storage FlashArray 1 scraping /metrics/pods
8999 - job_name : ' purefa_pods_arrayname01'
90100 metrics_path : /metrics/pods
101+ scheme : https
102+ tls_config :
103+ insecure_skip_verify : true
91104 # Bearer authorization token
92105 authorization :
93106 credentials : 11111111-1111-1111-1111-111111111111
94107 params :
95- endpoint : ['arrayname01.fqdn.com']
108+ namespace : purefa
96109
97110 static_configs :
98111 # purefa openmetrics exporter
99112 - targets :
100- - purefa-openmetrics-exporter .fqdn.com:9490
113+ - arrayname01 .fqdn.com
101114 labels :
102115 instance : arrayname01
103116 location : uk
@@ -107,19 +120,22 @@ scrape_configs:
107120# Scrape job for Pure Storage FlashArray 1 scraping /metrics/directories
108121 - job_name : ' purefa_directories_arrayname01'
109122 metrics_path : /metrics/directories
123+ scheme : https
124+ tls_config :
125+ insecure_skip_verify : true
110126 # It is recommended to collect expensive queries less frequently such as /metrics/directories.
111127 scrape_interval : 15m # Set the scrape interval to every 15min. Default is every 1 minute. This overrides the global setting.
112128 scrape_timeout : 15m # Set the scrape timeout to shorter than or equal to scrape_interval. Default is every 1 minute.
113129 # Bearer authorization token
114130 authorization :
115131 credentials : 11111111-1111-1111-1111-111111111111
116132 params :
117- endpoint : ['arrayname01.fqdn.com']
133+ namespace : purefa
118134
119135 static_configs :
120136 # purefa openmetrics exporter
121137 - targets :
122- - purefa-openmetrics-exporter .fqdn.com:9490
138+ - arrayname01 .fqdn.com
123139 labels :
124140 instance : arrayname01
125141 location : uk
@@ -128,6 +144,7 @@ scrape_configs:
128144
129145# ################################ #
130146# Pure Storage FlashArray Number 2 #
147+ # Running Purity//FA 6.6.x or less #
131148# ################################ #
132149# Scrape job for Pure Storage FlashArray 2 scraping /metrics/array
133150 - job_name : ' purefa_array_arrayname02'
@@ -225,4 +242,4 @@ scrape_configs:
225242 instance : arrayname02
226243 location : fr
227244 site : Paris
228- env : test
245+ env : test
0 commit comments