Using the API, you get the following metrics:

37 different metrics on virtual machine performance related to CPU, memory, virtual disk, system, and network usage

The Metrics API provides in-depth performance metrics for virtual machines in your environment. You can retrieve statistics for a specific virtual machine or for all virtual machines in a virtual data center.

21 different metrics for edge gateway traffic and performance, including metrics for interfaces, the firewall service, SSL and IPSec VPN services, and overall status and feature configuration

Virtual machines and edge gateways each have their own set of counters that provide metadata about their available metrics. Counters are organized by groups of finite system resources, such as memory, CPU, virtual disk, interface, sslvpn, etc.

The Metrics API returns a response containing name-value pairs for each metric, respectively. The metrics are returned using the following format:

"metrics": [
        {
          "name": "groupInfo.nameInfo.rollupType.[instance]",
          "value": "unit"
        },
        ...
      ],

For example:

"metrics": [
        {
          "name": "virtualDisk.write.average.scsi0:0",
          "value": "4.0"
        },
        ...
      ],

Substring

Description

groupInfo

Group of system resources

nameInfo

Name of the counter

rollupType

Determines the type of statistical values that are returned for the counter; valid values include average, maximum, minimum, latest, summation, or none (where none means that the counter is never rolled up)

instance

Identifies the instance of the metric with its source; this substring can be empty because it is dependent on what is installed and configured for the virtual machine or edge gateway

Each counter also has a statsType that is not displayed as a substring with the counter name. Valid values for the statistics type for the counter include absolute, delta, or rate.