Comments (11)
Looks like we forgot to mention it here but you can expose the metrics like since #86. This is what my config looks like:
matrix_synapse_metrics_enabled: true
matrix_nginx_proxy_proxy_synapse_metrics: false
matrix_synapse_metrics_port: 9129
matrix_synapse_container_metrics_api_host_bind_port: "127.0.0.1:9129"
from matrix-docker-ansible-deploy.
We may be turning into systemd, sort of ;)
I guess what happened is.. it's nice to be able to monitor your Matrix server and Prometheus/Grafana seem to be popular tools for that (not just with Synapse, but also with various bridges, etc.), so lots of people may wish to be able to monitor the server that way.
Still, installing and configuring Prometheus/Grafana can be difficult and annoying. Doing it separately, just for the sake of your Matrix server (which is the only thing a lot of people may wish to monitor) is not easy. Installing Prometheus/Grafana on the Matrix server (for those who only wish to monitor their Matrix server) can be annoying without it being baked into the playbook (extra certificates and vhosts managed manually, etc.). Although the playbook is flexible enough to allow people to obtain SSL certificates for other domains and to inject extra nginx configuration, it's still a bit of a battle.. Which doesn't seem worth it to most of us. I'm happy to be able to look at some graphs for my server, but I'm also not willing to spend effort to install Prometheus/Grafana neither separately (on another server), nor by hacking away manually on the Matrix server.
Another thing that happened is.. someone actually went through all the trouble to contribute support for Prometheus/Grafana, so me having no plans to work on doing that myself was nicely resolved.
from matrix-docker-ansible-deploy.
Are you thinking the playbook should be made to install Prometheus and Grafana? .. or rather, that we'd just make Synapse expose the metrics, so they can be hooked to an external Prometheus setup?
from matrix-docker-ansible-deploy.
It would be great if it could install it all.
from matrix-docker-ansible-deploy.
@aaronraimist, do you have a good Grafana dashboard for Synapse's metrics?
I've tried setting up metrics collection and visualizing it with this Prometheus console, but:
-
a lot of the graphs (especially interesting ones like "Federation") are missing for some reason ("No timeseries returned")
-
the graphs that do appear to be there seem kind of useless ("Cache hit ratio" graph having way too many things on it)
I'm not sure if I'm doing something wrong, but.. it doesn't seem like this setup is too useful.
Probably if these other graphs start working or if there's some good Grafana dashboard..
from matrix-docker-ansible-deploy.
I don't but TravisR and I think Half Shot have some pretty good setups so you might be able to contact them.
https://matrix.to/#/!qPNOnUsNsZrToFZqxB:half-shot.uk/$15335863793215gQKyQ:t2l.io
from matrix-docker-ansible-deploy.
Seems like there is a Grafana dashboard in the Synapse repository: https://github.com/matrix-org/synapse/tree/master/contrib/grafana
It looks much better and more useful than the Prometheus Console discussed above.
It might have some issues though, looking at this: matrix-org/synapse#3862
from matrix-docker-ansible-deploy.
(the prometheus console is essentially unmaintained, as you've discovered)
from matrix-docker-ansible-deploy.
I think prometheus and grafana may be a big out-of-scope for this project, but at least exposing prometheus metrics safely would be a nice addition.
from matrix-docker-ansible-deploy.
I guess that having the ability to expose metrics to an externally-installed Prometheus/Grafana is good enough as far as the scope of the playbook is concerned.
I'll close this issue, as there are no plans to install Prometheus/Grafana via the playbook at this time.
from matrix-docker-ansible-deploy.
What happened? #838
from matrix-docker-ansible-deploy.
Related Issues (20)
- Registration bot fails with 404 api call HOT 1
- matrix-client-element container fails to start with Permission denied HOT 2
- Migrating from mautrix-facebook HOT 5
- Traefik directories are not automatically created HOT 2
- Latest deployment was missing internal entrypoint in traefik config
- bridges broken when using dendrite
- Exception in thread "main" java.lang.RuntimeException: Password login not supported on homeserver
- Ansible: `matrix-synapse-reverse-proxy-companion.service` is not detected running after `just setup-all`
- No login possible after the upgrade of PostgreSQL from 15 to 16.1
- Sliding sync host name mismatch HOT 2
- Rate limit - run query HOT 1
- Ansible overwrites /etc/docker/daemon.json HOT 1
- devture_traefik_ssl_dir_enabled: true Not creating /matrix/traefik/config Directory HOT 1
- Unified Push (NextPush) Notifications not working
- Leftover (failed) `matrix-ssl-nginx-proxy-reload.{service,timer}`
- draupnir can't reach the synapse admin API HOT 3
- Matrix servers don't work in a federation
- Failed services are not detected as stopped
- Is it possible to use Spaces Object Storage from DigitalOcean instead of AWS S3? HOT 2
- Fresh install fails: port 80 blocked for matrix-traefik.service by apache HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from matrix-docker-ansible-deploy.