mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-12-03 00:08:22 +00:00
feat(prometheus-comm): fix tyourls CI issues
This commit is contained in:
1 file changed
+5
-3
@@ -3,13 +3,15 @@
|
||||
Included from basic.conf.j2, synapse.conf.j2, and any other custom vhost
|
||||
that participates in the monitoring stack.
|
||||
|
||||
healthz.conf.j2 — /healthz/live + /healthz/ready + /_live_probe
|
||||
location.conf.j2 — log_by_lua_block per-request metrics collection
|
||||
healthz.conf.j2 — /healthz/live + /healthz/ready + /_live_probe (all vhosts)
|
||||
location.conf.j2 — log_by_lua_block per-request metrics collection (prometheus-enabled only)
|
||||
metricz.conf.j2 — /metricz scrape endpoint (prometheus domain only)
|
||||
#}
|
||||
{# Always expose /healthz/live and /healthz/ready — every vhost needs them. #}
|
||||
{% include 'roles/sys-svc-proxy/templates/location/healthz.conf.j2' %}
|
||||
{# Per-request metrics collection requires prometheus Lua globals — only when deployed. #}
|
||||
{% if lookup('config', application_id, 'compose.services.prometheus.enabled', False)
|
||||
or lookup('config', application_id, 'compose.services.prometheus.name', '') %}
|
||||
{% include 'roles/sys-svc-proxy/templates/location/healthz.conf.j2' %}
|
||||
{% include 'roles/web-app-prometheus/templates/location.conf.j2' %}
|
||||
{% endif %}
|
||||
{% if lookup('config', application_id, 'compose.services.prometheus.name', '') %}
|
||||
|
||||
Reference in new issue
Block a user