The Gandi Community

Introducing Metrics on Gandi Cloud VPS and Simple Hosting

We are pleased to announce a new version of the statistics tools for Gandi Simple Hosting and Cloud VPS servers.

You can now see detailed usage stats on your instances and servers, enabling more advanced performance analysis. This feature makes it easy to see at a glance that you need to increase or decrease instance size, RAM, or CPU amounts, or use Gandiflex to do so automatically, allowing you to optimize the behavior of your applications in the cloud.

These new statistics tools are already available on your instance or server administration page or via our API. The new statistics tools are still in active development (please see notes below), and we’re eager to hear your feedback and ideas at feedback@gandi.net.

Accessing stats via the admin interface:

Check the “Statistics” tab of your Simple Hosting page or VPS admin page. We have added new visualizations that allow you to see several types of information:

  • Processor use (CPU)
  • Network utilization and throughput
  • Free and used disk space (on Simple Hosting) or Disk I/O (on VPS Servers)
  • RAM used (on Simple Hosting only)

You can filter the data by instances/servers, date, and even periodicity of visualization (e.g. by hour, day, or week).

Accessing stats via the Gandi API

A new method has been added to the Gandi API to allow you to integrate performance data into your scripts and applications, or to import it into another tool for monitoring or automated alerts, according to your needs.

Just call the method api.hosting.metric.query, passing your API key and the details of the request as arguments, as explained in the API documentation.

Notes

If you aren’t seeing any network usage data, you may need to stop and start your Servers for data collection to start.

We will soon start displaying maximum usage values (95th percentile), instead of average usage values, for the selected time period.

Getting help

We hope you find this to be a useful tool. More information is available on our support wiki (instance stats) and, as always, our support teams are here to help.