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

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

A list of granularities for the listed Metrics.

Type: MetricGranularityType list

Metrics

The list of Metrics collected. The following metrics are supported:

  • 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.co
oc/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>