Auto Scaling
API Reference (API Version 2011-01-01)
Did this page help you?  Yes | No |  Tell us about it...
« PreviousNext »
View the PDF for this guide.Go to the AWS Discussion Forum for this product.

DescribeMetricCollectionTypes

Description

Returns a list of metrics and a corresponding list of granularities for each metric.

Note

The GroupStandbyInstances metric is not returned by default. You must explicitly request it when calling EnableMetricsCollection.

Response Elements

The following elements are returned in a structure named DescribeMetricCollectionTypesResult.

Granularities

The granularities for the listed metrics.

Type: MetricGranularityType list

Metrics

One or more of the following metrics:

  • GroupMinSize

  • GroupMaxSize

  • GroupDesiredCapacity

  • GroupInServiceInstances

  • GroupPendingInstances

  • GroupStandbyInstances

  • GroupTerminatingInstances

  • GroupTotalInstances

Note

The GroupStandbyInstances metric is not returned by default. You must explicitly request it when calling EnableMetricsCollection.

Type: MetricCollectionType list

Examples

Sample Request

https://autoscaling.amazonaws.com/?Version=2011-01-01&Action=DescribeMetricCollectionTypes
&AUTHPARAMS 

Sample Response

<DescribeMetricCollectionTypesResponse xmlns="http://autoscaling.amazonaws.com/doc/2011-01-01/">
  <DescribeMetricCollectionTypesResult>
    <Metrics>
      <member>
        <Metric>GroupMinSize</Metric>
      </member>
      <member>
        <Metric>GroupMaxSize</Metric>
      </member>
      <member>
        <Metric>GroupDesiredCapacity</Metric>
      </member>
      <member>
        <Metric>GroupInServiceInstances</Metric>
      </member>
      <member>
        <Metric>GroupPendingInstances</Metric>
      </member>
      <member>
        <Metric>GroupStandyInstances</Metric>
      </member>
      <member>
        <Metric>GroupTerminatingInstances</Metric>
      </member>
      <member>
        <Metric>GroupTotalInstances</Metric>
      </member>
    </Metrics>
    <Granularities>
      <member>
        <Granularity>1Minute</Granularity>
      </member>
    </Granularities>
  </DescribeMetricCollectionTypesResult>
  <ResponseMetadata>
    <RequestId>07f3fea2-bf3c-11e2-9b6f-f3cdbb80c073</RequestId>
  </ResponseMetadata>
</DescribeMetricCollectionTypesResponse>