Get Droplet Bandwidth Metrics API units

I am able to get the bandwidth metrics from the API for any of my droplets. The returned data contains several pairs. The first seems to be the bandwidth usage and the second appears to be a Unix Timestamp. According to the Timestamp the usage is reported in two minute increments. If I ask for the bandwidth metrics for a 10 minute timespan, I will get 5 pairs of data. Does anyone know the units for the usage. I tried to figure it out but can’t make much sense of it and I don’t see it mentioned in the API documentation. Thanks


Submit an 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.

Hello @timmills,

The bandwidth response from API displays bandwidth usage in megabits per second. Any data transfer sent by a Droplet using a public network interface will count against the transfer pool for that Droplet’s account.

Hope this helps!

Cheers, Lalitha