|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MetricApi
Provides access to Amazon CloudWatch via the Query API
Method Summary | |
---|---|
GetMetricStatisticsResponse |
getMetricStatistics(GetMetricStatistics statistics)
|
GetMetricStatisticsResponse |
getMetricStatistics(GetMetricStatistics statistics,
GetMetricStatisticsOptions options)
Gets statistics for the specified metric. |
org.jclouds.collect.PagedIterable<Metric> |
list()
|
org.jclouds.collect.IterableWithMarker<Metric> |
list(ListMetricsOptions options)
Returns a list of valid metrics stored for the AWS account owner. |
void |
putMetricsInNamespace(Iterable<MetricDatum> metrics,
String namespace)
Publishes metric data points to Amazon CloudWatch. |
Method Detail |
---|
@Named(value="ListMetrics") org.jclouds.collect.IterableWithMarker<Metric> list(ListMetricsOptions options)
ListMetricsResponse.getNextToken()
) value with
subsequent calls .To retrieve all available metrics with one call, use
CloudWatch.listMetrics(MetricApi,
org.jclouds.cloudwatch.options.ListMetricsOptions)
options
- the options describing the metrics query
@Named(value="ListMetrics") org.jclouds.collect.PagedIterable<Metric> list()
@Named(value="GetMetricStatistics") GetMetricStatisticsResponse getMetricStatistics(GetMetricStatistics statistics, GetMetricStatisticsOptions options)
statistics
- the statistics to gatheroptions
- the options describing the metric statistics query
@Named(value="GetMetricStatistics") GetMetricStatisticsResponse getMetricStatistics(GetMetricStatistics statistics)
@Named(value="PutMetricData") void putMetricsInNamespace(Iterable<MetricDatum> metrics, String namespace)
metrics
- the metrics to publishnamespace
- the namespace to publish the metrics to
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |