|
1 | 1 | global: |
2 | | - scrape_interval: 60s |
3 | | - scrape_timeout: 50s |
| 2 | + scrape_interval: 60s |
| 3 | + scrape_timeout: 50s |
| 4 | + evaluation_interval: 30s |
4 | 5 | scrape_configs: |
5 | | - - job_name: 'purestorage-fa' |
6 | | - metrics_path: /metrics/array |
7 | | - authorization: |
8 | | - credentials: <YOUR_API_TOKEN> |
9 | | - params: |
10 | | - endpoint: [<YOUR_FLASHARRAY_IP>] |
11 | | - |
12 | | - static_configs: |
13 | | - - targets: |
14 | | - - pure-fa-om-exporter:9490 |
15 | | - labels: |
16 | | - location: US |
17 | | - site: TestSite |
18 | | - instance: FlashArray1 |
19 | | - env: 'Test Lab' |
20 | | - |
21 | | - - job_name: 'purestorage-fa_volumes' |
22 | | - metrics_path: /metrics/volumes |
23 | | - authorization: |
24 | | - credentials: <YOUR_API_TOKEN> |
25 | | - params: |
26 | | - endpoint: [<YOUR_FLASHARRAY_IP>] |
27 | | - |
28 | | - static_configs: |
29 | | - - targets: |
30 | | - - pure-fa-om-exporter:9490 |
31 | | - labels: |
32 | | - location: US |
33 | | - site: TestSite |
34 | | - instance: FlashArray1 |
35 | | - env: 'Test Lab' |
36 | | - |
37 | | - - job_name: 'purestorage-fa_hosts' |
38 | | - metrics_path: /metrics/hosts |
39 | | - authorization: |
40 | | - credentials: <YOUR_API_TOKEN> |
41 | | - params: |
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>] |
75 | | - |
76 | | - static_configs: |
77 | | - - targets: |
78 | | - - pure-fa-om-exporter:9490 |
79 | | - labels: |
80 | | - location: US |
81 | | - site: TestSite |
82 | | - instance: FlashArray1 |
83 | | - env: 'Test Lab' |
84 | | - |
| 6 | +- job_name: monitoring/pure-fa-probe |
| 7 | + honor_timestamps: true |
| 8 | + scrape_interval: 30s |
| 9 | + scrape_timeout: 10s |
| 10 | + metrics_path: /metrics/array |
| 11 | + scheme: http |
| 12 | + follow_redirects: true |
| 13 | + enable_http2: true |
| 14 | + relabel_configs: |
| 15 | + - source_labels: [job] |
| 16 | + separator: ; |
| 17 | + regex: (.*) |
| 18 | + target_label: __tmp_prometheus_job_name |
| 19 | + replacement: $1 |
| 20 | + action: replace |
| 21 | + - separator: ; |
| 22 | + regex: (.*) |
| 23 | + target_label: job |
| 24 | + replacement: pure-fa-probe |
| 25 | + action: replace |
| 26 | + - source_labels: [__address__] |
| 27 | + separator: ; |
| 28 | + regex: (.*) |
| 29 | + target_label: __param_endpoint |
| 30 | + replacement: $1 |
| 31 | + action: replace |
| 32 | + - source_labels: [__param_endpoint] |
| 33 | + separator: ; |
| 34 | + regex: (.*) |
| 35 | + target_label: instance |
| 36 | + replacement: $1 |
| 37 | + action: replace |
| 38 | + - separator: ; |
| 39 | + regex: (.*) |
| 40 | + target_label: __address__ |
| 41 | + replacement: 10.225.113.63:9490 |
| 42 | + action: replace |
| 43 | + static_configs: |
| 44 | + - targets: |
| 45 | + - x90a |
| 46 | + - x90b |
| 47 | + labels: |
| 48 | + env: Demo Lab |
| 49 | + location: UK |
| 50 | + site: Staines |
0 commit comments