Commit graph

24 commits

Author SHA1 Message Date
Slavi Pantaleev 9ed2e04d80 Switch from matrix-prometheus-node-exporter to an external prometheus_node_exporter role 2023-01-21 11:07:04 +02:00
ikkemaniac 8ebf18a885
add prometheus-nginxlog-exporter role (#2315)
* add prometheus-nginxlog-exporter role

* Rename matrix_prometheus_nginxlog_exporter_container_url to matrix_prometheus_nginxlog_exporter_container_hostname

* avoid referencing variables from other roles, handover info using group_vars/matrix_servers

* fix: stop service when uninstalling

fix: typo

move available arch's into a var

fix: text

* fix: prometheus enabled condition

Co-authored-by: ikkemaniac <ikkemaniac@localhost>
2022-12-07 16:58:36 +02:00
Slavi Pantaleev 226c550ffa Add support for stream writer Synapse workers
As stream writer workers are also powered by the `generic_worker`
Synapse app, this necessitated that we provide means for distinguishing
between them and regular `generic_workers`.

I've also taken the time to optimize nginx configuration generation
(more Jinja2 macro usage, less duplication).

Worker names have also changed.
Workers are now named sequentially like this:
- `matrix-synapse-worker-0-generic`
- `matrix-synapse-worker-1-stream-writer-typing`
- `matrix-synapse-worker-2-pusher`

instead of `matrix-synapse-worker_generic_worker-18111` (indexed with a
port number).

People who modify `matrix_synapse_workers_enabled_list` directly will
need to adjust their configuration.
2022-09-15 08:10:04 +03:00
nono-lqdn 5f6ad0f603 Added a note on managing the basic_auth password on external prometheus
servers
2022-06-24 17:45:52 +02:00
Slavi Pantaleev ba51997f7b (BC Break) Redo how metrics are exposed to external Prometheus servers 2022-06-23 17:55:07 +03:00
Olivér Falvai 326b1090b7
Add note about Prometheus retention policy 2022-03-29 22:26:29 +02:00
Slavi Pantaleev 12be1033e5
Add missing space 2021-11-04 00:28:58 +02:00
Luca Di Carlo 967e5d6f37
chore: adding some explanations about setting prometheus password 2021-11-03 21:12:06 +01:00
HarHarLinks ce41674e61 auto-generate prometheus.yml for workers metrics 2021-10-20 12:51:00 +02:00
HarHarLinks dd4dc22619 add worker metrics documentation 2021-10-20 12:51:00 +02:00
Kim Brose 6b0f739e9a
move advanced metrics exporting to new section 2021-10-04 11:58:27 +02:00
Kim Brose 2e16080f41
doc: how to export node and postgres sans grafana 2021-10-04 00:00:29 +02:00
Slavi Pantaleev d3c7be177a
Improve wording 2021-05-19 22:07:23 +03:00
Tobias K 68aa5094cf
docs/configuring-playbook-prometheus-grafana.md: Add documentation on how to override the grafana fqn 2021-05-19 19:57:35 +02:00
Aaron Raimist 504f1b6445
Allow special characters in Grafana password 2021-04-03 16:41:10 -05:00
Slavi Pantaleev 31d2e013f7 Fix typo 2021-03-02 08:02:31 +02:00
tctovsli 2b96fb0cf1
Added paragraph about updating DNS to get stats
This document didn't describe that it is necessary to have a DNS-entry for stats sub-domain.
2021-02-22 10:32:02 +01:00
Slavi Pantaleev 890e4ad1af Announce Prometheus/Grafana 2021-02-12 14:02:53 +02:00
Slavi Pantaleev 2b47258c6c Do not auto-expose metrics on matrix.DOMAIN/_synapse/metrics
.. and other documentation improvements.
2021-02-12 13:47:53 +02:00
Slavi Pantaleev eb9aac0ac9 Minor docs updates 2021-02-12 11:59:24 +02:00
Slavi Pantaleev 1d7d99c5cd Improve metrics docs page a bit
We mainly switch the anonymous metrics viewing variable
to false, along with other wording changes.
2021-02-12 11:59:24 +02:00
Peetz0r da82d670af Document security and privacy considerations for stats. 2021-02-10 22:54:14 +01:00
Peetz0r 1079272563 Mention stats subdomain in docs 2021-02-10 22:54:14 +01:00
Peetz0r a10e3244d9 Documentation for graphs 2021-02-10 22:54:14 +01:00