File tree Expand file tree Collapse file tree 1 file changed +17
-3
lines changed Expand file tree Collapse file tree 1 file changed +17
-3
lines changed Original file line number Diff line number Diff line change @@ -135,12 +135,26 @@ the following in ``kayobe-config/etc/kayobe/stackhpc-monitoring.yml``:
135135 Prometheus blackbox exporter endpoints
136136--------------------------------------
137137
138- Endpoints for the blackbox exporter are now templated in the kolla-ansible
138+ Many endpoints for the Blackbox exporter are now templated in the Kolla-Ansible
139139group vars for the cloud. This means that the
140140``prometheus_blackbox_exporter_endpoints `` variable can be removed from the
141141environment's ``kolla/globals.yml `` file (if applicable) and the endpoints will
142- fallback to the ones templated in the group vars. Additional endpoints may be
143- added through the ``prometheus_blackbox_exporter_endpoints_kayobe `` variable.
142+ fallback to the ones templated in the group vars. Backend endpoints such as
143+ `these <https://github.com/stackhpc/stackhpc-kayobe-config/blob/094c2e012a037309d103c08a71eb633fdeb214e7/etc/kayobe/kolla/inventory/group_vars/prometheus-blackbox-exporter#L27-L64 >`__
144+ are not yet templated by Kolla-Ansible.
145+
146+ Additional endpoints may still be added.
147+
148+ For Kolla-Ansible templating, use ``stackhpc_prometheus_blackbox_exporter_endpoints_custom ``.
149+ For example:
150+
151+ .. code-block :: yaml
152+ :caption : ` ` etc/kayobe/kolla/inventory/group_vars/prometheus-blackbox-exporter``
153+
154+ stackhpc_prometheus_blackbox_exporter_endpoints_custom :
155+ - ' custom_service:http_2xx:{{ public_protocol }}://{{ external_fqdn | put_address_in_context(' url') }}:{{ custom_serivce_port }}'
156+
157+ Alternatively, for Kayobe templating, use the ``prometheus_blackbox_exporter_endpoints_kayobe `` variable.
144158For example:
145159
146160.. code-block :: yaml
You can’t perform that action at this time.
0 commit comments