Slavi Pantaleev
1789620901
Merge branch 'master' into synapse-workers
2021-02-18 18:24:43 +02:00
Slavi Pantaleev
d6c4d41c2b
Define instanceId property on workers
...
This give us the possibility to run multiple instances of
workers that that don't expose a port.
Right now, we don't support that, but in the future we could
run multiple `federation_sender` or `pusher` workers, without
them fighting over naming (previously, they'd all be named
something like `matrix-synapse-worker-pusher-0`, because
they'd all define `port` as `0`).
2021-02-18 18:19:51 +02:00
Slavi Pantaleev
ef45b60e32
Merge pull request #882 from pushytoxin/patch-1
...
Use the yaml callback plugin when running ansible-playbook
2021-02-18 17:37:25 +02:00
pushytoxin
05bf1c045b
Use the yaml callback plugin when running ansible-playbook
...
The default default Ansible screen output encodes and prints error outputs as a hard to read dense line of JSON.
This patch changes the ansible-playbook command behavior for this project to output yaml instead.
2021-02-18 15:57:05 +01:00
Slavi Pantaleev
9e1d108ff1
Merge pull request #881 from rakshazi/patch-1
...
Update synapse-admin (0.6.1 -> 0.7.0)
2021-02-18 14:14:17 +02:00
rakshazi
996f732f98
Update synapse-admin (0.6.1 -> 0.7.0)
2021-02-18 12:05:21 +00:00
Slavi Pantaleev
66064f0890
Merge pull request #879 from Jaykul/patch-1
...
Change the new app link to use classsic apps
2021-02-17 08:45:23 +02:00
Joel Bennett
85e4c16905
Change the new app link to use classsic apps
...
Until [this issue](https://github.com/matrix-org/matrix-appservice-slack/issues/348 ) is fixed
2021-02-17 01:37:52 -05:00
Slavi Pantaleev
d33483b8ce
Document that Synapse pusher worker instances are shardable
...
Related to:
- https://github.com/matrix-org/synapse/pull/9407
- https://github.com/matrix-org/synapse/pull/7855
2021-02-16 17:45:41 +02:00
Slavi Pantaleev
daae74b074
Merge branch 'master' into synapse-workers
2021-02-16 17:31:40 +02:00
Slavi Pantaleev
521160c12f
Upgrade Synapse (v1.26.0 -> v1.27.0)
2021-02-16 17:30:48 +02:00
Slavi Pantaleev
865d71e35a
Upgrade Element (1.7.20 -> 1.7.21)
2021-02-16 13:44:28 +02:00
Slavi Pantaleev
ba7148e52e
Update configuring-playbook-matrix-corporal.md
2021-02-16 10:44:35 +02:00
Slavi Pantaleev
eff2b30c96
Merge pull request #876 from marcquark/fix_etherpad_binding
...
Fix etherpad binding
2021-02-15 12:05:57 +02:00
Marc Leuser
fd3d48bb6d
trust the reverse proxy by default
2021-02-15 10:50:45 +01:00
Marc Leuser
1434c371bd
safer port binding of etherpad docker container
...
don't bind to any host port if nginx_proxy is used
only bind to localhost if it's not used
2021-02-15 10:46:23 +01:00
Slavi Pantaleev
61e427d690
Do not let people enable more than 1 federation_sender worker
2021-02-15 11:37:03 +02:00
Slavi Pantaleev
85a05f38e8
Allow Synapse worker list to be generated dynamically
...
This leads to much easier management and potential safety
features (validation). In the future, we could try to avoid port
conflicts as well, but it didn't seem worth the effort to do it now.
Our port ranges seem large enough.
This can also pave the way for a "presets" feature
(similar to `matrix_nginx_proxy_ssl_presets`) which makes it even easier
for people to configure worker counts.
2021-02-15 11:25:35 +02:00
Slavi Pantaleev
43059bb040
Fix metrics listeners for Synapse workers
...
`::` leads to errors like:
> socket.gaierror: [Errno -9] Address family for hostname not supported
2021-02-15 11:19:07 +02:00
Slavi Pantaleev
453a4ec2d8
Relocate tasks related to Synapse workers
2021-02-15 11:18:47 +02:00
Slavi Pantaleev
5cfeae806b
Merge branch 'master' into synapse-workers
2021-02-14 13:00:57 +02:00
Slavi Pantaleev
894679750e
Merge pull request #862 from s-thom/nginx-additional
...
Add additional domains for Let's Encrypt certificates to be obtained
2021-02-14 11:05:25 +02:00
Slavi Pantaleev
a8e9f35708
Touch up documentation a bit
2021-02-14 11:05:05 +02:00
Slavi Pantaleev
7d39e5153a
Upgrade Postgres minor versions
2021-02-14 09:12:29 +02:00
Slavi Pantaleev
70a9a28ca3
Mention Prometheus/Grafana on the README
2021-02-12 16:32:49 +02:00
Slavi Pantaleev
8434af10de
Do not fail on unrelated validation tasks when Grafana not enabled
2021-02-12 15:45:19 +02:00
Slavi Pantaleev
66d5b0e5b9
Do not fail on unrelated validation tasks when Prometheus not enabled
...
These validation tasks should only run when Prometheus is enabled.
2021-02-12 15:41:15 +02:00
Slavi Pantaleev
87ce12c3eb
Add note about potential breaking change
2021-02-12 14:07:26 +02:00
Slavi Pantaleev
2ac2b02cb4
Merge pull request #838 from Peetz0r/stats
...
Prometheus and Grafana on stats.<domain>
2021-02-12 14:03:17 +02: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
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
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