I am using Postgres in production but have run into challenges around monitoring.
I’d like to be able to see when queries are slow, especially as our data grows and our access patterns grow. Right now, Digital Ocean provides a “Query Statistics” tool which provides no information about the time range, nor an ability to set one. As a result, it is not usable to see how things are changing. The statistics are (evidently) across all time. If I address a bottleneck (by adding an index for example) I cannot go to the Query Statistics tool to see the corresponding drop in latency.
This is solved by other tools, but the “managed Postgres” offering from DO is too restrictive–you can’t access the host, and you can’t create a user with the GRANTS required for Datadog to do its job. So you’re stuck?
I am curious how others are solving this? Is it unusual to use the managed DB offering for real-world production use?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $100 of credit to try our products over 60 days!