@@ -23,14 +23,15 @@ 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'
33- metrics_path : /metrics/array
34+ metrics_path : /metrics/array?namespace=purefa
3435 # Bearer authorization token
3536 authorization :
3637 credentials : 11111111-1111-1111-1111-111111111111
@@ -40,7 +41,7 @@ scrape_configs:
4041 static_configs :
4142 # purefa openmetrics exporter
4243 - targets :
43- - purefa-openmetrics-exporter .fqdn.com:9490
44+ - arrayname01 .fqdn.com
4445 labels :
4546 location : uk
4647 site : London
@@ -49,7 +50,7 @@ scrape_configs:
4950
5051# Scrape job for Pure Storage FlashArray 1 scraping /metrics/volumes
5152 - job_name : ' purefa_volumes_arrayname01'
52- metrics_path : /metrics/volumes
53+ metrics_path : /metrics/volumes?namespace=purefa
5354 # Bearer authorization token
5455 authorization :
5556 credentials : 11111111-1111-1111-1111-111111111111
@@ -59,7 +60,7 @@ scrape_configs:
5960 static_configs :
6061 # purefa openmetrics exporter
6162 - targets :
62- - purefa-openmetrics-exporter .fqdn.com:9490
63+ - arrayname01 .fqdn.com
6364 labels :
6465 location : uk
6566 site : London
@@ -68,7 +69,7 @@ scrape_configs:
6869
6970# Scrape job for Pure Storage FlashArray 1 scraping /metrics/hosts
7071 - job_name : ' purefa_hosts_arrayname01'
71- metrics_path : /metrics/hosts
72+ metrics_path : /metrics/hosts?namespace=purefa
7273 # Bearer authorization token
7374 authorization :
7475 credentials : 11111111-1111-1111-1111-111111111111
@@ -78,7 +79,7 @@ scrape_configs:
7879 static_configs :
7980 # purefa openmetrics exporter
8081 - targets :
81- - purefa-openmetrics-exporter .fqdn.com:9490
82+ - arrayname01 .fqdn.com
8283 labels :
8384 instance : arrayname01
8485 location : uk
@@ -87,7 +88,7 @@ scrape_configs:
8788
8889# Scrape job for Pure Storage FlashArray 1 scraping /metrics/pods
8990 - job_name : ' purefa_pods_arrayname01'
90- metrics_path : /metrics/pods
91+ metrics_path : /metrics/pods?namespace=purefa
9192 # Bearer authorization token
9293 authorization :
9394 credentials : 11111111-1111-1111-1111-111111111111
@@ -97,7 +98,7 @@ scrape_configs:
9798 static_configs :
9899 # purefa openmetrics exporter
99100 - targets :
100- - purefa-openmetrics-exporter .fqdn.com:9490
101+ - arrayname01 .fqdn.com
101102 labels :
102103 instance : arrayname01
103104 location : uk
@@ -106,7 +107,7 @@ scrape_configs:
106107
107108# Scrape job for Pure Storage FlashArray 1 scraping /metrics/directories
108109 - job_name : ' purefa_directories_arrayname01'
109- metrics_path : /metrics/directories
110+ metrics_path : /metrics/directories?namespace=purefa
110111 # It is recommended to collect expensive queries less frequently such as /metrics/directories.
111112 scrape_interval : 15m # Set the scrape interval to every 15min. Default is every 1 minute. This overrides the global setting.
112113 scrape_timeout : 15m # Set the scrape timeout to shorter than or equal to scrape_interval. Default is every 1 minute.
@@ -119,7 +120,7 @@ scrape_configs:
119120 static_configs :
120121 # purefa openmetrics exporter
121122 - targets :
122- - purefa-openmetrics-exporter .fqdn.com:9490
123+ - arrayname01 .fqdn.com
123124 labels :
124125 instance : arrayname01
125126 location : uk
@@ -128,6 +129,7 @@ scrape_configs:
128129
129130# ################################ #
130131# Pure Storage FlashArray Number 2 #
132+ # Running Purity//FA 6.6.x or less #
131133# ################################ #
132134# Scrape job for Pure Storage FlashArray 2 scraping /metrics/array
133135 - job_name : ' purefa_array_arrayname02'
@@ -225,4 +227,4 @@ scrape_configs:
225227 instance : arrayname02
226228 location : fr
227229 site : Paris
228- env : test
230+ env : test
0 commit comments