Commit graph

3135 commits

Author SHA1 Message Date
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 c8ab200cb1 Break dependency between matrix-prometheus and (matrix-prometheus-node-exporter, matrix-synapse) 2021-02-12 11:59:24 +02:00
Slavi Pantaleev 6842102e00 Split install/uninstall tasks in matrix-prometheus 2021-02-12 11:59:24 +02:00
Slavi Pantaleev 18e31526a8 Rename some variables 2021-02-12 11:59:24 +02:00
Slavi Pantaleev 85a260daaf Make --tags=setup-prometheus not break, relying on matrix-base facts 2021-02-12 11:59:24 +02:00
Slavi Pantaleev df3dd1c824 Use --read-only FS for metrics-related containers
It seems like it doesn't cause any issues for any of these services.
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
Slavi Pantaleev 3ce9712388 Fix Grafana dashboard/datasource label 2021-02-12 11:59:24 +02:00
Slavi Pantaleev f0cd294628 Fix matrix-prometheus-node-exporter failure to start
The quotes around "host" for both `--pid` and `--net` were
causing trouble for me:

> docker: --pid: invalid PID mode.

and:

> docker: Error response from daemon: network "host" not found.

I've also changed the `-v` call to `--mount` for consistency with the
rest of the playbook.
2021-02-12 11:59:24 +02:00
Peetz0r 9531d13786 Split DNS table in default and optional parts 2021-02-12 11:59:22 +02:00
Slavi Pantaleev 11b310d259
Merge pull request #870 from efraimbart/patch-1
Fix wrong docker image being pulled
2021-02-12 10:27:02 +02:00
efraimbart b7e68cb779
Fix wrong docker image being pulled
Changed `matrix_mautrix_signal_docker_image_force_pull` to `matrix_mautrix_signal_daemon_docker_image_force_pull` when force pulling the daemon
2021-02-11 22:56:37 -05:00
foxcris 0fe6352cf7 - Added role to setup https://github.com/prodrigestivill/docker-postgres-backup-local container to backup all postgres databases 2021-02-11 17:18:25 +01:00
Peetz0r fde222a041 Update Prometheus Node Exporter 1.0.1 => 1.1.0 2021-02-10 23:11:17 +01:00
Peetz0r 3a77261dc6 Update Grafana 7.3.7 => 7.4.0 2021-02-10 23:11:02 +01:00
Peetz0r 144a5e6198 Register docker network info and use it for prometheus-node-exporter
Using the hardcoded IP did break while I was
messing with IPv6 stuff on the other branch
2021-02-10 22:54:42 +01:00
Peetz0r da82d670af Document security and privacy considerations for stats. 2021-02-10 22:54:14 +01:00
Peetz0r 8aafb44cb8 Mention new images in docks 2021-02-10 22:54:14 +01:00
Peetz0r 1079272563 Mention stats subdomain in docs 2021-02-10 22:54:14 +01:00
Peetz0r 76d7e84be5 Make prometheus-node-exporter a bit more capable
By running it in a more privileged container with access to the host network stack and such
2021-02-10 22:54:14 +01:00
Peetz0r a10e3244d9 Documentation for graphs 2021-02-10 22:54:14 +01:00
Peetz0r 989100b1c1 Grafana nginx proxy config 2021-02-10 22:54:14 +01:00
Peetz0r eb5aa93e8a Grafana
Also includes the dashboards for Synapse and for Node Exporter.

Again has only been tested on debian amd64 so far, but the grafana docker image is available for arm64 and arm32. Nice.
2021-02-10 22:54:14 +01:00
Peetz0r e525970b39 Prometheus Node Exporter
Basic system stats, to show stuff the synapse metrics
can't show such as resource usage by bridges, etc

Seems to work fine as well.

This too has only been tested on debian amd64 so far
2021-02-10 22:54:14 +01:00
Peetz0r 13ef9e85cf Prometheus
Initial attempt. Seems to work fine.

Only tested on debian amd64 so far
2021-02-10 22:54:14 +01:00
Slavi Pantaleev 96e6111aa6 Improve S3 docs around data migration 2021-02-09 22:09:08 +02:00
Slavi Pantaleev 7e8e95a09a Make S3-mounting path configurable
This will make data migration easier.
2021-02-09 22:05:07 +02:00
Slavi Pantaleev 21fd44a557
Merge pull request #865 from yncyrydybyl/master
Fixes: a66a604e ("Selfbuild appservice-slack bridge")
2021-02-09 07:56:42 +02:00
Yan 385b6c623e Fixes: a66a604e ("Selfbuild appservice-slack bridge") 2021-02-09 00:02:48 +01:00
Slavi Pantaleev 722cfc4586
Merge pull request #864 from yncyrydybyl/master
fix typo from skype to slack
2021-02-08 19:44:34 +02:00
Yan 599ff34be9 fix typo from skype to slack 2021-02-08 18:22:59 +01:00
Slavi Pantaleev 2857b22794
Merge pull request #863 from buxel/patch-1
Update configuring-dns.md
2021-02-08 14:56:32 +02:00
buxel 479d8b3e44
Update configuring-dns.md
Added note about cloudflare, related to #821
2021-02-08 11:35:31 +01:00
Slavi Pantaleev 8a8f94eda1
Merge pull request #859 from pushytoxin/patch-1
Etherpad docs: Padname length bug
2021-02-08 10:41:56 +02:00
Stuart Thomson 093ecba405 Add more documentation 2021-02-07 16:09:20 +13:00
pushytoxin d416b0cebe
Etherpad docs: Padname length bug
Warn users of the known bug https://github.com/turt2live/matrix-dimension/issues/395
2021-02-06 12:45:54 +01:00
Stuart Thomson f7bea5bb05 Add documentation for new variable 2021-02-06 20:31:24 +13:00
Stuart Thomson 064b2e533c Add variable for extra domains to get LE certs for
I felt that adding another variable was probably going to be the easiest way to do this. I may end up adding another variable to enable this feature, for consistency with some of the other things.
2021-02-06 20:02:39 +13:00
Slavi Pantaleev 62f79af0a8
Merge pull request #857 from ptman/patch-1
Upgrade Element (1.7.19 -> 1.7.20)
2021-02-04 16:53:36 +02:00
Paul Tötterman 9ad67d7cdf
Upgrade Element (1.7.19 -> 1.7.20)
https://github.com/vector-im/element-web/releases/tag/v1.7.20
https://hub.docker.com/layers/vectorim/element-web/v1.7.20/images/sha256-44cae3a532d86c16940deb70866b522ba6acc8c5d7adf3c661cfc8b06f1de681?context=explore
2021-02-04 16:26:56 +02:00
Slavi Pantaleev 1523d092f7
Merge pull request #854 from aaronraimist/element-1.7.19
Upgrade Element (1.7.18 -> 1.7.19)
2021-02-03 18:34:32 +02:00
Aaron Raimist 5cb976c321
Upgrade Element (1.7.18 -> 1.7.19) 2021-02-03 10:07:43 -06:00
Slavi Pantaleev 47f82f275d
Merge pull request #853 from aaronraimist/tls1.3-fed-tester
Remove note about federation tester not working with TLS 1.3
2021-02-03 17:58:16 +02:00
Aaron Raimist 47784d465a
Remove note about federation tester not working with TLS 1.3 2021-02-03 09:50:58 -06:00
Slavi Pantaleev 2467ed4ace
Merge pull request #852 from julianfoad/fix-docs-mautrix-signal-links-1
Fix wrong links in mautrix-signal docs
2021-02-03 17:39:24 +02:00
Julian Foad b8ac089562 Fix wrong links in mautrix-signal docs 2021-02-03 13:12:57 +00:00
Slavi Pantaleev 33e2887876
Merge pull request #851 from julianfoad/postgres-cli-allow-psql-args
Allow psql args to be given to matrix-postgres-cli
2021-02-03 15:09:41 +02:00
Julian Foad d1f28d17bb Allow psql args to be given to matrix-postgres-cli
This passes any arguments given to 'matrix-postgres-cli' to the 'psql' command.

Examples:
  $ # start an interactive shell connected to a given db
  $ sudo matrix-postgres-cli -d synapse
  $ # run a query, non-interactively
  $ sudo matrix-postgres-cli -d synapse -c 'SELECT group_id FROM groups;'
2021-02-03 12:59:21 +00:00
Slavi Pantaleev c4a05b760a Make mautrix bridges not overwrite their config
If they do, our next playbook runs would simply revert it
and report "changed" for that task.

There's no benefit to letting the bridge spew a new config file.

This does not apply to the mautrix whatsapp bridge, because that one
is written in Go (not Python) and takes different flags. There's no
equivalent flag there.
2021-02-03 13:23:18 +02:00