ListMetrics#

Description#

Returns a list of valid metrics stored for the account owner.

Request Parameters#

  • Dimensions.member.n — The alarm dimensions (for details, see user documentation).

    • Required: No

    • Type: List of Dimension objects

    • Length constraints: from 0 to 10 items

  • MetricName — The name of the metric.

    • Required: No

    • Type: String

    • Length constraints: from 1 to 255 symbols

  • Namespace — The namespace of the metric..

    • Required: No

    • Type: String

    • Length constraints: from 1 to 255 symbols

Response Elements#

  • Metrics — List of metrics.

    • Type: List of Metric objects

Examples#

c2-cw ListMetrics

c2-cw ListMetrics Dimensions.member.1.Name "InstanceId" \
                  Dimensions.member.1.Value <instance_id>

c2-cw ListMetrics MetricName <metric_name> Namespace <namespace>