dcloud monitoring retention-policy get

Read the retention policy, its limits and how much log archive is stored

IAM monitoring:GetRetentionPolicyRead

Metrics: minute data for 14 days, then hourly rollups for metricsRetentionDays (90 by default). Logs: hot for 7 days (or logsRetentionDays when shorter), then archived in object storage for logsRetentionDays (30 by default), still searchable with logs filter. Custom metrics and uptime results keep their own retention.

Synopsis

dcloud monitoring retention-policy get

Example

dcloud monitoring retention-policy get

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