@@ -106,6 +106,39 @@ the following in ``kayobe-config/etc/kayobe/stackhpc-monitoring.yml``:
106106 # targets being templated during deployment.
107107 stackhpc_enable_os_capacity : false
108108
109+ Prometheus blackbox exporter endpoints
110+ --------------------------------------
111+
112+ Many endpoints for the Blackbox exporter are now templated in the Kolla-Ansible
113+ group vars for the cloud. This means that the
114+ ``prometheus_blackbox_exporter_endpoints `` variable can be removed from the
115+ environment's ``kolla/globals.yml `` file (if applicable) and the endpoints will
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.
132+ For example:
133+
134+ .. code-block :: yaml
135+ :caption : ` ` kolla/globals.yml``
136+
137+ prometheus_blackbox_exporter_endpoints_kayobe :
138+ - endpoints :
139+ - " pulp:http_2xx:{{ pulp_url }}/pulp/api/v3/status/"
140+ enabled : " {{ seed_pulp_container_enabled | bool }}"
141+
109142 Known issues
110143============
111144
0 commit comments