Package | Description |
---|---|
com.azure.core.experimental.models |
Package containing experimental model classes.
|
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 | Field and Description |
---|---|
static TimeInterval |
TimeInterval.ALL |
static TimeInterval |
TimeInterval.LAST_1_HOUR |
static TimeInterval |
TimeInterval.LAST_12_HOURS |
static TimeInterval |
TimeInterval.LAST_2_DAYS |
static TimeInterval |
TimeInterval.LAST_3_DAYS |
static TimeInterval |
TimeInterval.LAST_30_MINUTES |
static TimeInterval |
TimeInterval.LAST_4_HOURS |
static TimeInterval |
TimeInterval.LAST_5_MINUTES |
static TimeInterval |
TimeInterval.LAST_7_DAYS |
static TimeInterval |
TimeInterval.LAST_DAY |
Modifier and Type | Method and Description |
---|---|
static TimeInterval |
TimeInterval.parse(String value)
This method takes an ISO 8601 formatted time interval string and returns an instance of
TimeInterval . |
Modifier and Type | Method and Description |
---|---|
LogsQueryResult |
LogsQueryClient.query(String workspaceId,
String query,
TimeInterval timeInterval)
Returns all the Azure Monitor logs matching the given query in the specified workspaceId.
|
Mono<LogsQueryResult> |
LogsQueryAsyncClient.query(String workspaceId,
String query,
TimeInterval timeInterval)
Returns all the Azure Monitor logs matching the given query in the specified workspaceId.
|
<T> List<T> |
LogsQueryClient.query(String workspaceId,
String query,
TimeInterval timeInterval,
Class<T> type)
Returns all the Azure Monitor logs matching the given query in the specified workspaceId.
|
<T> Mono<List<T>> |
LogsQueryAsyncClient.query(String workspaceId,
String query,
TimeInterval timeInterval,
Class<T> type)
Returns all the Azure Monitor logs matching the given query in the specified workspaceId.
|
<T> List<T> |
LogsQueryClient.query(String workspaceId,
String query,
TimeInterval timeInterval,
LogsQueryOptions options,
Class<T> type) |
<T> Mono<List<T>> |
LogsQueryAsyncClient.query(String workspaceId,
String query,
TimeInterval timeInterval,
LogsQueryOptions options,
Class<T> type) |
LogsBatchQueryResultCollection |
LogsQueryClient.queryBatch(String workspaceId,
List<String> queries,
TimeInterval timeInterval)
Returns all the Azure Monitor logs matching the given batch of queries in the specified workspaceId.
|
Mono<LogsBatchQueryResultCollection> |
LogsQueryAsyncClient.queryBatch(String workspaceId,
List<String> queries,
TimeInterval timeInterval)
Returns all the Azure Monitor logs matching the given batch of queries in the specified workspaceId.
|
Mono<Response<LogsQueryResult>> |
LogsQueryAsyncClient.queryWithResponse(String workspaceId,
String query,
TimeInterval timeInterval,
LogsQueryOptions options)
Returns all the Azure Monitor logs matching the given query in the specified workspaceId.
|
Response<LogsQueryResult> |
LogsQueryClient.queryWithResponse(String workspaceId,
String query,
TimeInterval timeInterval,
LogsQueryOptions options,
Context context)
Returns all the Azure Monitor logs matching the given query in the specified workspaceId.
|
Modifier and Type | Method and Description |
---|---|
TimeInterval |
MetricsQueryOptions.getTimeSpan()
Returns the time span for which the metrics data is queried.
|
Modifier and Type | Method and Description |
---|---|
LogsBatchQuery |
LogsBatchQuery.addQuery(String workspaceId,
String query,
TimeInterval timeInterval)
Adds a new logs query to the batch.
|
LogsBatchQuery |
LogsBatchQuery.addQuery(String workspaceId,
String query,
TimeInterval timeInterval,
LogsQueryOptions logsQueryOptions)
Adds a new logs query to the batch.
|
MetricsQueryOptions |
MetricsQueryOptions.setTimeSpan(TimeInterval timeInterval)
Sets the time span for which the metrics data is queried.
|
Copyright © 2021. All rights reserved.