Package | Description |
---|---|
com.azure.monitor.query |
Package containing clients for querying logs and metrics from Azure Monitor.
|
com.azure.monitor.query.models |
Package containing models for querying logs and metrics from Azure Monitor.
|
Modifier and Type | Method and Description |
---|---|
Mono<com.azure.core.http.rest.Response<MetricsQueryResult>> |
MetricsQueryAsyncClient.queryWithResponse(String resourceUri,
List<String> metricsNames,
MetricsQueryOptions options)
Returns all the Azure Monitor metrics requested for the resource.
|
com.azure.core.http.rest.Response<MetricsQueryResult> |
MetricsQueryClient.queryWithResponse(String resourceUri,
List<String> metricsNames,
MetricsQueryOptions options,
com.azure.core.util.Context context)
Returns all the Azure Monitor metrics requested for the resource.
|
Modifier and Type | Method and Description |
---|---|
MetricsQueryOptions |
MetricsQueryOptions.setAggregations(AggregationType... aggregations)
Sets the list of aggregations that should be applied to the metrics data.
|
MetricsQueryOptions |
MetricsQueryOptions.setAggregations(List<AggregationType> aggregations)
Sets the list of aggregations that should be applied to the metrics data.
|
MetricsQueryOptions |
MetricsQueryOptions.setFilter(String filter)
Sets the filter to be applied to the query.
|
MetricsQueryOptions |
MetricsQueryOptions.setGranularity(Duration granularity)
Sets the interval (window size) for which the metric data was returned in.
|
MetricsQueryOptions |
MetricsQueryOptions.setMetricNamespace(String metricNamespace)
Sets the namespace of the metrics been queried
|
MetricsQueryOptions |
MetricsQueryOptions.setOrderBy(String orderBy)
Sets the order in which the query results should be ordered.
|
MetricsQueryOptions |
MetricsQueryOptions.setTimeInterval(com.azure.core.experimental.models.TimeInterval timeInterval)
Sets the time span for which the metrics data is queried.
|
MetricsQueryOptions |
MetricsQueryOptions.setTop(Integer top)
Sets the number of top metrics values to query.
|
Copyright © 2021 Microsoft Corporation. All rights reserved.