Modifier and Type | Method and Description |
---|---|
Set<String> |
getConfiguredRegions() |
MetricApi |
getMetricApi()
Provides synchronous access to Metric features.
|
MetricApi |
getMetricApiForRegion(String region)
Provides synchronous access to Metric features.
|
Set<Datapoint> |
getMetricStatisticsInRegion(String region,
String metricName,
String namespace,
Date startTime,
Date endTime,
int period,
Statistics statistics,
GetMetricStatisticsOptions... options)
Deprecated.
|
@Provides Set<String> getConfiguredRegions()
@Deprecated Set<Datapoint> getMetricStatisticsInRegion(@Nullable String region, String metricName, String namespace, Date startTime, Date endTime, int period, Statistics statistics, GetMetricStatisticsOptions... options)
region
- region to gather metrics inmetricName
- The measure name that corresponds to the measure for the gathered metric.
note
Must be a valid collected metric with the corresponding measure name, please see
Available Amazon CloudWatch Metricsnamespace
- The namespace of the metric (e.g. AWS/EC2)startTime
- The timestamp of the first datapoint to return, inclusive. We round your value down
to the nearest minute. You can set your start time for more than two weeks in the
past. However, you will only get data for the past two weeks.endTime
- The timestamp to use for determining the last datapoint to return. This is the last
datapoint to fetch, exclusive.period
- The granularity (in seconds) of the returned datapoints.statistics
- The statistics to be returned for the given metric. ex. Averageoptions
- more filtering options (e.g. instance ID)MetricApi.getMetricStatistics(org.jclouds.cloudwatch.domain.GetMetricStatistics)
MetricApi getMetricApi()
Copyright © 2009-2013 jclouds. All Rights Reserved.