dcloud monitoring metrics list

List the metrics of one resource and when each was last recorded

IAM monitoring:ListMetricsRead

Synopsis

dcloud monitoring metrics list --resource-type resourceType --resource-id resourceId

Flags

  • --resource-typeRequired

    enum

    instance, db_node, vpn_connection, eks_cluster, cdn_distribution, app: as resources lists it

    One of: instance, db_node, vpn_connection, eks_cluster, cdn_distribution, app

  • --resource-idRequired

    string

    The resource’s id as resources lists it (i-… for an instance, a uuid otherwise): 1–64 letters, digits and dashes. An id the organization does not have lists every metric with latestAt null

Example

dcloud monitoring metrics list --resource-type instance --resource-id example

Generated from the API description, the same one the API checks requests against and the CLI is built from.