diff --git a/eng/jacoco-test-coverage/pom.xml b/eng/jacoco-test-coverage/pom.xml index 862c224b05e0a..fdb69abcc28e3 100644 --- a/eng/jacoco-test-coverage/pom.xml +++ b/eng/jacoco-test-coverage/pom.xml @@ -244,7 +244,7 @@ com.azure azure-monitor-query - 1.0.0-beta.5 + 1.0.0 com.azure diff --git a/eng/versioning/version_client.txt b/eng/versioning/version_client.txt index 47b489357bdaa..f0463726089b4 100644 --- a/eng/versioning/version_client.txt +++ b/eng/versioning/version_client.txt @@ -103,7 +103,7 @@ com.azure:azure-messaging-webpubsub;1.0.0-beta.3;1.0.0-beta.4 com.azure:azure-mixedreality-authentication;1.1.2;1.2.0-beta.1 com.azure:azure-mixedreality-remoterendering;1.1.0;1.2.0-beta.1 com.azure:azure-monitor-opentelemetry-exporter;1.0.0-beta.4;1.0.0-beta.5 -com.azure:azure-monitor-query;1.0.0-beta.4;1.0.0-beta.5 +com.azure:azure-monitor-query;1.0.0-beta.4;1.0.0 com.azure:azure-monitor-query-perf;1.0.0-beta.1;1.0.0-beta.1 com.azure:azure-quantum-jobs;1.0.0-beta.1;1.0.0-beta.2 com.azure:azure-search-documents;11.4.3;11.5.0-beta.4 diff --git a/sdk/monitor/azure-monitor-query-perf/pom.xml b/sdk/monitor/azure-monitor-query-perf/pom.xml index de0acf8cd6db7..f66aee10235af 100644 --- a/sdk/monitor/azure-monitor-query-perf/pom.xml +++ b/sdk/monitor/azure-monitor-query-perf/pom.xml @@ -27,7 +27,7 @@ com.azure azure-monitor-query - 1.0.0-beta.5 + 1.0.0 com.azure diff --git a/sdk/monitor/azure-monitor-query/CHANGELOG.md b/sdk/monitor/azure-monitor-query/CHANGELOG.md index 34eb4badd620e..a7988253a1c02 100644 --- a/sdk/monitor/azure-monitor-query/CHANGELOG.md +++ b/sdk/monitor/azure-monitor-query/CHANGELOG.md @@ -1,15 +1,25 @@ # Release History -## 1.0.0-beta.5 (Unreleased) +## 1.0.0 (2021-10-07) ### Features Added +- Added `getMetricByName` API on `MetricsQueryResult` to get the metric result for a specific metric name. +- Added `LogsQueryStatus` enum to specify if the query was successful, partially successful or failed. ### Breaking Changes - -### Bugs Fixed +- Changed `query` API name in `LogsQuery*Client` to `queryWorkspace` +- Changed `query` API name in `MetricsQuery*Client` to `queryResource` +- Changed `addQuery` API name in `LogsQueryBatch` to `addWorkspaceQuery` +- Removed `status` from `LogsBatchQueryResult` +- Throws exception if a logs query is partially successful with an option in `LogsQueryOptions` to disable this + behavior. ### Other Changes +#### Dependency Updates +- Upgraded `azure-core` to `1.21.0`. +- Upgraded `azure-core-http-netty` to `1.11.1`. + ## 1.0.0-beta.4 (2021-09-10) ### Features Added @@ -23,8 +33,8 @@ ### Other Changes #### Dependency Updates -- Upgraded `azure-core` from `1.18.0` to `1.19.0`. -- Upgraded `azure-core-http-netty` from `1.10.1` to `1.10.2`. +- Upgraded `azure-core` from `1.19.0` to `1.20.0`. +- Upgraded `azure-core-http-netty` from `1.10.2` to `1.11.0`. ## 1.0.0-beta.3 (2021-08-11) diff --git a/sdk/monitor/azure-monitor-query/README.md b/sdk/monitor/azure-monitor-query/README.md index 27823aea580dc..e5f1c762fb2ec 100644 --- a/sdk/monitor/azure-monitor-query/README.md +++ b/sdk/monitor/azure-monitor-query/README.md @@ -32,7 +32,7 @@ Install the Azure Monitor Query client library for Java by adding the following com.azure azure-monitor-query - 1.0.0-beta.4 + 1.0.0 ``` diff --git a/sdk/monitor/azure-monitor-query/pom.xml b/sdk/monitor/azure-monitor-query/pom.xml index 7e9e160f10c9b..f47a1abeddce1 100644 --- a/sdk/monitor/azure-monitor-query/pom.xml +++ b/sdk/monitor/azure-monitor-query/pom.xml @@ -11,7 +11,7 @@ com.azure azure-monitor-query - 1.0.0-beta.5 + 1.0.0 Microsoft Azure SDK for Azure Monitor Logs and Metrics Query This package contains the Microsoft Azure SDK for querying Azure Monitor's Logs and Metrics data sources. diff --git a/sdk/monitor/pom.xml b/sdk/monitor/pom.xml index f94125c4e6dfe..c84efb002c84f 100644 --- a/sdk/monitor/pom.xml +++ b/sdk/monitor/pom.xml @@ -26,7 +26,7 @@ com.azure azure-monitor-query - 1.0.0-beta.5 + 1.0.0