https://docs.digitalocean.com/reference/api/api-reference/#tag/Monitoring shows how to get metrics for Droplets. Is there a similar endpoint for Databases?
https://cloud.digitalocean.com/databases/xxxxxxxx/insights?i=xxxx uses the /api/v1/insights/cartographer/api/datasources/proxy/1/api/v1/query_range endpoint. Is there documentation for this endpoint?
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.
Sign up for Infrastructure as a Newsletter.
Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Hi there,
A quick update here, a similar implementation is now available:
DigitalOcean has introduced scrapable metrics for Managed PostgreSQL, MySQL, Redis, and Kafka. These metrics provide specific insights into database performance and can be exported to monitoring stacks like Prometheus.
PostgreSQL:
How-to Guide: Monitor PostgreSQL Database Cluster Performance
How To Guide: Monitor PostgreSQL Database Performance
MySQL:
How-to Guide: Monitor MySQL Database Cluster Performance
How To Guide: Monitor MySQL Database Performance
Redis:
How-to Guide: Monitor Redis Database Cluster Performance
How To Guide: Monitor Redis Database Performance
Kafka:
How-to Guide: Monitor Kafka Database Cluster Performance
How To Guide: Monitor Kafka Database Performance
The available metrics include:
Hope that this helps!
Best,
Bobby
Hey @gvaneerten,
Indeed, this is currently only available for Droplets.
The
/api/v1/insights/cartographer/api/datasources/proxy/1/api/v1/query_range
endpoint is the internal API that the DigitalOcean Control Panel uses.The best thing to do to get your voice heard regarding this would be to head over to our Product Ideas board and post a new idea, including as much information as possible for what you’d like to see implemented.
Hope that helps!
- Bobby.