Excerpt | ||
---|---|---|
| ||
Manage custom metrics in the Abiquo multi-cloud platform to drive automation and scaling |
...
Custom metrics are in addition to the built-in (and standardized) metrics for VMs and services. In the UI, the platform can display built-in and custom metrics for VMs at the VM and VApp group levels, and for services. See VM monitoring and metrics, Monitor Manage virtual appliances , and Service metrics. The platform can evaluate all metrics as part of alarms, for a description of alarm functionality in the UI, see Manage cloud alarms and Infrastructure alarms. In this way the user can also incorporate the metrics into alerts and use them to trigger action plans, for example, to automate scaling.
...
Given the metadata of a metric, search the link with “rel” attribute value equals to “metric” and execute a GET to the URI specified by “href” attribute with the accept type indicated in the “type” attribute.
Parameter | Description | Default value |
---|---|---|
startrelative | Relative start time following the ISO 8601 duration (cannot contain years or months). A maximum of 1 week. | PT1H (1 Hour) |
granularity | Aggregator granularity in seconds. A minimum of 60 seconds. | 60 seconds |
statistic | Aggregator type { average, maximum, minimum, sum, count, dev } | average |
The basic query would be as follows:
...