ListMetrics

Description

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

Request Parameters

  • Dimensions.member.n – The metric dimensions (see User Guide)
    • Required: No
    • Type: Array of Dimension objects
    • Length constraints: from 1 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: Array 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>