mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2026-08-06 16:03:06 +10:00
Remove dead metrics support from the Steam bridge
The bridge does not expose a metrics endpoint, so the playbook was publishing a Traefik route which could only ever yield an HTTP 502. Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/5487
This commit is contained in:
@@ -94,17 +94,6 @@ matrix_bridge_steam_container_labels_traefik_entrypoints: web-secure
|
||||
matrix_bridge_steam_container_labels_traefik_tls: "{{ matrix_bridge_steam_container_labels_traefik_entrypoints != 'web' }}"
|
||||
matrix_bridge_steam_container_labels_traefik_tls_certResolver: default # noqa var-naming
|
||||
|
||||
# Controls whether labels will be added that expose mautrix-instagram's metrics
|
||||
matrix_bridge_steam_container_labels_metrics_enabled: "{{ matrix_bridge_steam_metrics_enabled and matrix_bridge_steam_metrics_proxying_enabled }}"
|
||||
matrix_bridge_steam_container_labels_metrics_traefik_rule: "Host(`{{ matrix_bridge_steam_metrics_proxying_hostname }}`) && PathPrefix(`{{ matrix_bridge_steam_metrics_proxying_path_prefix }}`)"
|
||||
matrix_bridge_steam_container_labels_metrics_traefik_priority: 0
|
||||
matrix_bridge_steam_container_labels_metrics_traefik_entrypoints: "{{ matrix_bridge_steam_container_labels_traefik_entrypoints }}"
|
||||
matrix_bridge_steam_container_labels_metrics_traefik_tls: "{{ matrix_bridge_steam_container_labels_metrics_traefik_entrypoints != 'web' }}"
|
||||
matrix_bridge_steam_container_labels_metrics_traefik_tls_certResolver: "{{ matrix_bridge_steam_container_labels_traefik_tls_certResolver }}" # noqa var-naming
|
||||
matrix_bridge_steam_container_labels_metrics_middleware_basic_auth_enabled: false
|
||||
# See: https://doc.traefik.io/traefik/middlewares/http/basicauth/#users
|
||||
matrix_bridge_steam_container_labels_metrics_middleware_basic_auth_users: ''
|
||||
|
||||
# matrix_bridge_steam_container_labels_additional_labels contains a multiline string with additional labels to add to the container label file.
|
||||
# See `../templates/labels.j2` for details.
|
||||
#
|
||||
@@ -199,16 +188,6 @@ matrix_bridge_steam_provisioning_shared_secret: disable
|
||||
# Valid values: fatal, error, warn, info, debug, trace
|
||||
matrix_bridge_steam_logging_level: 'warn'
|
||||
|
||||
# Whether or not metrics endpoint should be enabled.
|
||||
# Enabling them is usually enough for a local (in-container) Prometheus to consume them.
|
||||
# If metrics need to be consumed by another (external) Prometheus server, consider exposing them via `matrix_bridge_steam_metrics_proxying_enabled`.
|
||||
matrix_bridge_steam_metrics_enabled: false
|
||||
|
||||
# Controls whether metrics should be exposed on a public URL.
|
||||
matrix_bridge_steam_metrics_proxying_enabled: false
|
||||
matrix_bridge_steam_metrics_proxying_hostname: ''
|
||||
matrix_bridge_steam_metrics_proxying_path_prefix: ''
|
||||
|
||||
# Default configuration template which covers the generic use case.
|
||||
# You can customize it by controlling the various variables inside it.
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user