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 @@ -109,12 +109,26 @@ the following in ``kayobe-config/etc/kayobe/stackhpc-monitoring.yml``:
109109 Prometheus blackbox exporter endpoints
110110--------------------------------------
111111
112- Endpoints for the blackbox exporter are now templated in the kolla-ansible
112+ Many endpoints for the Blackbox exporter are now templated in the Kolla-Ansible
113113group vars for the cloud. This means that the
114114``prometheus_blackbox_exporter_endpoints `` variable can be removed from the
115115environment's ``kolla/globals.yml `` file (if applicable) and the endpoints will
116- fallback to the ones templated in the group vars. Additional endpoints may be
117- added through the ``prometheus_blackbox_exporter_endpoints_kayobe `` variable.
116+ fallback to the ones templated in the group vars. Backend endpoints such as
117+ `these <https://github.com/stackhpc/stackhpc-kayobe-config/blob/094c2e012a037309d103c08a71eb633fdeb214e7/etc/kayobe/kolla/inventory/group_vars/prometheus-blackbox-exporter#L27-L64 >`__
118+ are not yet templated by Kolla-Ansible.
119+
120+ Additional endpoints may still be added.
121+
122+ For Kolla-Ansible templating, use ``stackhpc_prometheus_blackbox_exporter_endpoints_custom ``.
123+ For example:
124+
125+ .. code-block :: yaml
126+ :caption : ` ` etc/kayobe/kolla/inventory/group_vars/prometheus-blackbox-exporter``
127+
128+ stackhpc_prometheus_blackbox_exporter_endpoints_custom :
129+ - ' custom_service:http_2xx:{{ public_protocol }}://{{ external_fqdn | put_address_in_context(' url') }}:{{ custom_serivce_port }}'
130+
131+ Alternatively, for Kayobe templating, use the ``prometheus_blackbox_exporter_endpoints_kayobe `` variable.
118132For example:
119133
120134.. code-block :: yaml
You can’t perform that action at this time.
0 commit comments