-
Notifications
You must be signed in to change notification settings - Fork 169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Monitoring support and documentation #85
Comments
Hi, Odyssey is mostly compatible with PgBouncer administrative console, so most likely everything will work out of the box. If something is not working, I am sure that can be easily added or fixed. It is worth to try :) |
Sounds good. The pgbouncer exporter code basically runs You can see the column mapping here |
There's no |
While it's nice to be compatible with pgbouncer, it might be worth the effort to provide a "real" Prometheus metrics endpoint. For example, there is a C library that can be used. This way monitor isn't in-line with database connections. It's also possible to expose a lot more interesting data than is possible with just the pgbouncer-compatible metrics. For example, Prometheus supports histograms, so relatively cheap heatmap data can be exposed from the odyssey instances. |
It certainly makes sense to provide "plugin system" for monitoring connections and make some examples string with Prometheus. |
I've implemented SHOW DATABASES in #102 |
@x4m dumb question, but am I expected to create database for console on my own and odyssey will install required tables on its own? |
Just add to config
And you will be able to connect to DB |
Thanks! It works. |
Can It work with remote type? |
Any easy way to monitor odyssey on Prometheus ? |
I'm looking into this project for production use, and one thing I'm not sure about is how we can get monitoring data out of this system. We currently use pgbouncer and the pgbouncer_exporter to monitor it in Prometheus.
Is there a similar level of functionality here? Would it be possible for Odyssey to expose Prometheus data directly?
The text was updated successfully, but these errors were encountered: