Metrics Interface
public interface Metrics
An instance of this class provides access to all the operations defined in Metrics.
Method Summary
Modifier and Type | Method and Description |
---|---|
MetricsResult |
get(String appId, MetricId metricId)
Retrieve metric data. Gets metric values for a single metric. |
MetricsResult |
get(String appId, MetricId metricId, String timespan, Period interval, List<MetricsAggregation> aggregation, List<MetricsSegment> segment, Integer top, String orderby, String filter)
Retrieve metric data. Gets metric values for a single metric. |
Observable<MetricsResult> |
getAsync(String appId, MetricId metricId)
Retrieve metric data. Gets metric values for a single metric. |
ServiceFuture<MetricsResult> |
getAsync(String appId, MetricId metricId, final ServiceCallback<MetricsResult> serviceCallback)
Retrieve metric data. Gets metric values for a single metric. |
Observable<MetricsResult> |
getAsync(String appId, MetricId metricId, String timespan, Period interval, List<MetricsAggregation> aggregation, List<MetricsSegment> segment, Integer top, String orderby, String filter)
Retrieve metric data. Gets metric values for a single metric. |
ServiceFuture<MetricsResult> |
getAsync(String appId, MetricId metricId, String timespan, Period interval, List<MetricsAggregation> aggregation, List<MetricsSegment> segment, Integer top, String orderby, String filter, final ServiceCallback<MetricsResult> serviceCallback)
Retrieve metric data. Gets metric values for a single metric. |
Object |
getMetadata(String appId)
Retrieve metric metatadata. Gets metadata describing the available metrics. |
Observable<Object> |
getMetadataAsync(String appId)
Retrieve metric metatadata. Gets metadata describing the available metrics. |
ServiceFuture<Object> |
getMetadataAsync(String appId, final ServiceCallback<Object> serviceCallback)
Retrieve metric metatadata. Gets metadata describing the available metrics. |
Observable<ServiceResponse<Object>> |
getMetadataWithServiceResponseAsync(String appId)
Retrieve metric metatadata. Gets metadata describing the available metrics. |
List<MetricsResultsItem> |
getMultiple(String appId, List<MetricsPostBodySchema> body)
Retrieve metric data. Gets metric values for multiple metrics. |
Observable<List<MetricsResultsItem>> |
getMultipleAsync(String appId, List<MetricsPostBodySchema> body)
Retrieve metric data. Gets metric values for multiple metrics. |
ServiceFuture<List<MetricsResultsItem>> |
getMultipleAsync(String appId, List<MetricsPostBodySchema> body, final ServiceCallback<List<MetricsResultsItem>> serviceCallback)
Retrieve metric data. Gets metric values for multiple metrics. |
Observable<ServiceResponse<List<MetricsResultsItem>>> |
getMultipleWithServiceResponseAsync(String appId, List<MetricsPostBodySchema> body)
Retrieve metric data. Gets metric values for multiple metrics. |
Observable<ServiceResponse<MetricsResult>> |
getWithServiceResponseAsync(String appId, MetricId metricId)
Retrieve metric data. Gets metric values for a single metric. |
Observable<ServiceResponse<MetricsResult>> |
getWithServiceResponseAsync(String appId, MetricId metricId, String timespan, Period interval, List<MetricsAggregation> aggregation, List<MetricsSegment> segment, Integer top, String orderby, String filter)
Retrieve metric data. Gets metric values for a single metric. |
Method Details
get
public MetricsResult get(String appId, MetricId metricId)
Retrieve metric data. Gets metric values for a single metric.
Parameters:
Returns:
Throws:
get
public MetricsResult get(String appId, MetricId metricId, String timespan, Period interval, List
Retrieve metric data. Gets metric values for a single metric.
Parameters:
Returns:
Throws:
getAsync
public Observable
Retrieve metric data. Gets metric values for a single metric.
Parameters:
Returns:
Throws:
getAsync
public ServiceFuture
Retrieve metric data. Gets metric values for a single metric.
Parameters:
Returns:
Throws:
getAsync
public Observable
Retrieve metric data. Gets metric values for a single metric.
Parameters:
Returns:
Throws:
getAsync
public ServiceFuture
Retrieve metric data. Gets metric values for a single metric.
Parameters:
Returns:
Throws:
getMetadata
public Object getMetadata(String appId)
Retrieve metric metatadata. Gets metadata describing the available metrics.
Parameters:
Returns:
Throws:
getMetadataAsync
public Observable
Azure SDK for Java