Remove dead metrics support from the mautrix-whatsapp bridge

Bridges based on bridgev2 no longer expose a metrics endpoint, so the
playbook was publishing a Traefik route which could only ever yield an
HTTP 502.

Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/5487
This commit is contained in:
Slavi Pantaleev
2026-08-04 16:59:15 +03:00
parent 45e337f71c
commit eab505813a
4 changed files with 12 additions and 65 deletions
@@ -29,6 +29,18 @@
- {'old': 'matrix_bridge_mautrix_whatsapp_docker_image_registry_prefix_upstream_default', 'new': 'matrix_bridge_mautrix_whatsapp_container_image_registry_prefix_upstream_default'}
- {'old': 'matrix_bridge_mautrix_whatsapp_docker_src_files_path', 'new': 'matrix_bridge_mautrix_whatsapp_container_src_files_path'}
- {'old': 'matrix_bridge_mautrix_whatsapp_container_image_force_pull', 'new': '<removed> (the new community.docker.docker_image_pull module handles this natively)'}
- {'old': 'matrix_bridge_mautrix_whatsapp_metrics_enabled', 'new': '<removed> (mautrix-whatsapp does not support metrics)'}
- {'old': 'matrix_bridge_mautrix_whatsapp_metrics_proxying_enabled', 'new': '<removed> (mautrix-whatsapp does not support metrics)'}
- {'old': 'matrix_bridge_mautrix_whatsapp_metrics_proxying_hostname', 'new': '<removed> (mautrix-whatsapp does not support metrics)'}
- {'old': 'matrix_bridge_mautrix_whatsapp_metrics_proxying_path_prefix', 'new': '<removed> (mautrix-whatsapp does not support metrics)'}
- {'old': 'matrix_bridge_mautrix_whatsapp_container_labels_metrics_enabled', 'new': '<removed> (mautrix-whatsapp does not support metrics)'}
- {'old': 'matrix_bridge_mautrix_whatsapp_container_labels_metrics_traefik_rule', 'new': '<removed> (mautrix-whatsapp does not support metrics)'}
- {'old': 'matrix_bridge_mautrix_whatsapp_container_labels_metrics_traefik_priority', 'new': '<removed> (mautrix-whatsapp does not support metrics)'}
- {'old': 'matrix_bridge_mautrix_whatsapp_container_labels_metrics_traefik_entrypoints', 'new': '<removed> (mautrix-whatsapp does not support metrics)'}
- {'old': 'matrix_bridge_mautrix_whatsapp_container_labels_metrics_traefik_tls', 'new': '<removed> (mautrix-whatsapp does not support metrics)'}
- {'old': 'matrix_bridge_mautrix_whatsapp_container_labels_metrics_traefik_tls_certResolver', 'new': '<removed> (mautrix-whatsapp does not support metrics)'}
- {'old': 'matrix_bridge_mautrix_whatsapp_container_labels_metrics_middleware_basic_auth_enabled', 'new': '<removed> (mautrix-whatsapp does not support metrics)'}
- {'old': 'matrix_bridge_mautrix_whatsapp_container_labels_metrics_middleware_basic_auth_users', 'new': '<removed> (mautrix-whatsapp does not support metrics)'}
- name: Fail if required mautrix-whatsapp settings not defined
ansible.builtin.fail: