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