Skip to content

Commit 963a45e

Browse files
authored
Merge pull request #23 from nocentino/master
added pods and directories to prometheus.yaml
2 parents 5158023 + 1cf4a63 commit 963a45e

File tree

1 file changed

+35
-3
lines changed

1 file changed

+35
-3
lines changed

examples/config/docker/prometheus/prometheus.yml

Lines changed: 35 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ scrape_configs:
77
authorization:
88
credentials: <YOUR_API_TOKEN>
99
params:
10-
endpoint: ['<YOUR_FLASHARRAY_IP>']
10+
endpoint: YOUR_FLASHARRAY_IP
1111

1212
static_configs:
1313
- targets:
@@ -23,7 +23,7 @@ scrape_configs:
2323
authorization:
2424
credentials: <YOUR_API_TOKEN>
2525
params:
26-
endpoint: ['<YOUR_FLASHARRAY_IP>']
26+
endpoint: YOUR_FLASHARRAY_IP
2727

2828
static_configs:
2929
- targets:
@@ -39,7 +39,39 @@ scrape_configs:
3939
authorization:
4040
credentials: <YOUR_API_TOKEN>
4141
params:
42-
endpoint: ['<YOUR_FLASHARRAY_IP>']
42+
endpoint: YOUR_FLASHARRAY_IP
43+
44+
static_configs:
45+
- targets:
46+
- pure-fa-om-exporter:9490
47+
labels:
48+
location: US
49+
site: TestSite
50+
instance: FlashArray1
51+
env: 'Test Lab'
52+
53+
- job_name: 'purestorage-fa_pods'
54+
metrics_path: /metrics/pods
55+
authorization:
56+
credentials: <YOUR_API_TOKEN>
57+
params:
58+
endpoint: YOUR_FLASHARRAY_IP
59+
60+
static_configs:
61+
- targets:
62+
- pure-fa-om-exporter:9490
63+
labels:
64+
location: US
65+
site: TestSite
66+
instance: FlashArray1
67+
env: 'Test Lab'
68+
69+
- job_name: 'purestorage-fa_directories'
70+
metrics_path: /metrics/directories
71+
authorization:
72+
credentials: <YOUR_API_TOKEN>
73+
params:
74+
endpoint: YOUR_FLASHARRAY_IP
4375

4476
static_configs:
4577
- targets:

0 commit comments

Comments
 (0)