dcloud monitoring metrics listList the metrics of one resource and when each was last recorded
IAM monitoring:ListMetricsRead
Synopsis
dcloud monitoring metrics list --resource-type resourceType --resource-id resourceIdFlags
--resource-typeRequiredenum
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-idRequiredstring
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 exampleGenerated from the API description, the same one the API checks requests against and the CLI is built from.