mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-11-14 10:04:46 +08:00
8 lines
345 B
YAML
8 lines
345 B
YAML
---
|
|
|
|
- name: Fail if Synapse metrics or Prometheus Node Exporter not enabled
|
|
fail:
|
|
msg: >
|
|
You need to enable `matrix_prometheus_scraper_synapse_enabled` and/or `matrix_prometheus_scraper_node_enabled` for Prometheus grab metrics.
|
|
when: "not matrix_prometheus_scraper_synapse_enabled and not matrix_prometheus_scraper_node_enabled"
|