dcloud monitoring custom-metrics put

Publish datapoints to custom metrics (CloudWatch PutMetricData)

IAM monitoring:PutMetricDataChanges state

Datums are checked one by one: the valid ones are stored and each refused one is listed with its index and reason (400 only when none was stored). Values are aggregated per minute. Active series are limited by the organization’s quota monitoring.custom-metric-series (1000 by default, 100 on a trial; a quota can be raised), and each web server takes at most 20000 datums a minute. Kept 15 days per minute, 15 months per hour. OTLP/HTTP (JSON) is accepted at /monitoring/api/otlp/v1/metrics.

Synopsis

dcloud monitoring custom-metrics put --namespace namespace --metric-data metricData

Flags

  • --namespaceRequired

    string

    Letters, digits and . _ / # : -, up to 255; DCLOUD/, EWS/ and AWS/ are reserved

  • --metric-dataRequired

    array of json

    1–1000 datums

Example

dcloud monitoring custom-metrics put --namespace example --metric-data '["example"]'

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