Get CloudWatch metric data
Fetch CloudWatch metric data for a module instance UI metric. Resolves the AWS account from awsAccountId + region. Applies a short Redis cache (60s for ranges that end at now, 5 min for fixed ranges).
Request
- Base URLhttps://api.ravion.com
- AuthHTTP bearer
Query parameters
AWS account database ID used to resolve credentials.
AWS region the metric lives in.
CloudWatch namespace (e.g. AWS/ECS)
CloudWatch metric name (e.g. CPUUtilization)
CloudWatch statistic to apply (Average, Sum, Maximum, ...)
Aggregation period in seconds (e.g. 300). Must obey CloudWatch's per-window granularity floor (60s ≤ 15d, 300s ≤ 63d, 3600s ≤ 455d).
Inclusive start of the query window (ISO 8601). Must be earlier than endTime and within CloudWatch's 455-day retention.
Inclusive end of the query window (ISO 8601). Must be after startTime and not in the future.
Repeated dimensionName=dimensionValue pairs scoping the metric. At least one is required unless groupBy is set.
Name of one dimension to split the metric by. The answer then holds one series per value of that dimension, among the metrics named metricName in metricNamespace whose dimensions are exactly dimensions plus this one. Must not also appear in dimensions. A namespace or dimension name containing ", ', \, { or } cannot be searched and answers 400.
Values of groupBy to answer for, in place of the 10 largest: the answer then holds a series for each of these values that has datapoints in the window, and for no other. Repeat the parameter for each value; at most 500 distinct values. Requires groupBy.
Response
The request has succeeded.
Changes
No recorded changes to this operation across all 2 revisions of this API.