UI Developer
So I am trying to add droplet monitoring to my app and want to use CPU monitoring data from digital ocean API.
I’m getting this response for every single droplet. I’ve also tried putting same timestamps DO puts in internal monitoring requests for my droplets, still no success.
{"status":"success","data":{"resultType":"matrix","result":[]}}
Could anyone help with this?
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!
Hello,
I’ve just tested this and it looks like that in order for you to be able to use the monitoring API, you need to have the DigitalOcean monitoring agent installed on your server as per the instructions here:
https://docs.digitalocean.com/products/monitoring/how-to/install-agent/
Once installed the result array should populate with data. Hope that this helps! Best, Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.