2021-01-29 05:29:25 +01:00
|
|
|
---
|
|
|
|
|
2021-01-29 06:17:45 +01:00
|
|
|
- name: Fail if Synapse metrics or Prometheus Node Exporter not enabled
|
2022-07-18 10:39:08 +03:00
|
|
|
ansible.builtin.fail:
|
2021-01-29 05:29:25 +01:00
|
|
|
msg: >
|
2021-01-31 19:23:12 +02:00
|
|
|
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"
|