@@ -42,19 +42,104 @@ To complete the configuration, include the receiver in the ``metrics`` pipeline
4242 metrics :
4343 receivers : [purefa]
4444
45+
46+
47+ Configuration settings
48+ -------------------------------------------------
49+
50+ The following settings are required:
51+
52+ * ``endpoint ``. ``http://127.0.0.0:9490/metrics/array `` by default. The URL of the scraper selected endpoint.
53+
54+ * ``fa_array_name ``. The array's pretty name to be used as a metrics label.
55+
56+ * ``namespace ``. ``purefa `` by default. The selected Pure Storage OpenMetrics Namespace to query.
57+
4558Configuration example
4659----------------------------------------------------------------------
4760
48- See the following config example:
61+ In this example `` array01 `` uses the :new-page: ` Pure Storage FlashArray OpenMetrics exporter <https://github.com/PureStorage-OpenConnect/pure-fa-openmetrics-exporter> `, while `` array02 `` uses the native on-box metrics provided in Purity//FA v6.6.11 or higher.
4962
5063.. code :: yaml
5164
65+ extensions :
66+ bearertokenauth/array01 :
67+ token : " ..."
68+ bearertokenauth/array02 :
69+ token : " ..."
5270
71+ receivers :
72+ purefa/array01 :
73+ fa_array_name : foobar01
74+ endpoint : http://127.0.0.1:9490/metrics
75+ array :
76+ - address : array01
77+ auth :
78+ authenticator : bearertokenauth/array01
79+ hosts :
80+ - address : array01
81+ auth :
82+ authenticator : bearertokenauth/array01
83+ directories :
84+ - address : array01
85+ auth :
86+ authenticator : bearertokenauth/array01
87+ pods :
88+ - address : array01
89+ auth :
90+ authenticator : bearertokenauth/array01
91+ volumes :
92+ - address : array01
93+ auth :
94+ authenticator : bearertokenauth/array01
95+ env : dev
96+ settings :
97+ reload_intervals :
98+ array : 20s
99+ hosts : 60s
100+ directories : 60s
101+ pods : 60s
102+ volumes : 60s
103+
104+ purefa/array02 :
105+ fa_array_name : foobar02
106+ endpoint : https://127.0.0.1/metrics
107+ tls :
108+ insecure_skip_verify : true
109+ array :
110+ - address : array02
111+ auth :
112+ authenticator : bearertokenauth/array02
113+ hosts :
114+ - address : array02
115+ auth :
116+ authenticator : bearertokenauth/array02
117+ directories :
118+ - address : array02
119+ auth :
120+ authenticator : bearertokenauth/array02
121+ pods :
122+ - address : array02
123+ auth :
124+ authenticator : bearertokenauth/array02
125+ volumes :
126+ - address : array02
127+ auth :
128+ authenticator : bearertokenauth/array02
129+ env : production
130+ settings :
131+ reload_intervals :
132+ array : 20s
133+ hosts : 60s
134+ directories : 60s
135+ pods : 60s
136+ volumes : 60s
53137
54- Configuration settings
55- -------------------------------------------------
56-
57-
138+ service :
139+ extensions : [bearertokenauth/array01,bearertokenauth/array02]
140+ pipelines :
141+ metrics :
142+ receivers : [purefa/array01,purefa/array02]
58143
59144 Settings
60145======================
0 commit comments