mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2026-01-13 19:09:12 +03:00
sync with previous repo
This commit is contained in:
7
roles/matrix-prometheus/tasks/validate_config.yml
Normal file
7
roles/matrix-prometheus/tasks/validate_config.yml
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
|
||||
- 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"
|
||||
Reference in New Issue
Block a user