View source: R/cloudwatch_operations.R
cloudwatch_get_metric_statistics | R Documentation |
Gets statistics for the specified metric.
See https://www.paws-r-sdk.com/docs/cloudwatch_get_metric_statistics/ for full documentation.
cloudwatch_get_metric_statistics(
Namespace,
MetricName,
Dimensions = NULL,
StartTime,
EndTime,
Period,
Statistics = NULL,
ExtendedStatistics = NULL,
Unit = NULL
)
Namespace |
[required] The namespace of the metric, with or without spaces. |
MetricName |
[required] The name of the metric, with or without spaces. |
Dimensions |
The dimensions. If the metric contains multiple dimensions, you must include a value for each dimension. CloudWatch treats each unique combination of dimensions as a separate metric. If a specific combination of dimensions was not published, you can't retrieve statistics for it. You must specify the same dimensions that were used when the metrics were created. For an example, see Dimension Combinations in the Amazon CloudWatch User Guide. For more information about specifying dimensions, see Publishing Metrics in the Amazon CloudWatch User Guide. |
StartTime |
[required] The time stamp that determines the first data point to return. Start times are evaluated relative to the time that CloudWatch receives the request. The value specified is inclusive; results include data points with the specified time stamp. In a raw HTTP query, the time stamp must be in ISO 8601 UTC format (for example, 2016-10-03T23:00:00Z). CloudWatch rounds the specified time stamp as follows:
If you set |
EndTime |
[required] The time stamp that determines the last data point to return. The value specified is exclusive; results include data points up to the specified time stamp. In a raw HTTP query, the time stamp must be in ISO 8601 UTC format (for example, 2016-10-10T23:00:00Z). |
Period |
[required] The granularity, in seconds, of the returned data points. For metrics
with regular resolution, a period can be as short as one minute (60
seconds) and must be a multiple of 60. For high-resolution metrics that
are collected at intervals of less than one minute, the period can be 1,
5, 10, 30, 60, or any multiple of 60. High-resolution metrics are those
metrics stored by a If the
|
Statistics |
The metric statistics, other than percentile. For percentile statistics,
use |
ExtendedStatistics |
The percentile statistics. Specify values between p0.0 and p100. When
calling |
Unit |
The unit for a given metric. If you omit |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.