Skip to content

Commit 19cac43

Browse files
jairmyreescottaddieCopilot
authored
Deprecation of azure-monitor-query (#46310)
* Deprecation of azure-monitor-query * Update sdk/monitor/azure-monitor-query/pom.xml Co-authored-by: Scott Addie <[email protected]> * Update sdk/monitor/azure-monitor-query/README.md Co-authored-by: Scott Addie <[email protected]> * Update sdk/monitor/azure-monitor-query/README.md Co-authored-by: Scott Addie <[email protected]> * Deprecation Release of azure-monitor-query * Update sdk/monitor/azure-monitor-query/README.md Co-authored-by: Copilot <[email protected]> * fixing logs query version tag * Update sdk/monitor/azure-monitor-query/CHANGELOG.md Co-authored-by: Copilot <[email protected]> --------- Co-authored-by: Scott Addie <[email protected]> Co-authored-by: Copilot <[email protected]>
1 parent 4881b20 commit 19cac43

File tree

6 files changed

+20
-13
lines changed

6 files changed

+20
-13
lines changed

eng/versioning/version_client.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ com.azure:azure-monitor-opentelemetry-exporter;1.0.0-beta.32;1.0.0-beta.33
164164
com.azure:azure-monitor-opentelemetry-autoconfigure;1.3.0;1.4.0-beta.1
165165
com.azure:azure-monitor-ingestion;1.2.11;1.3.0-beta.1
166166
com.azure:azure-monitor-ingestion-perf;1.0.0-beta.1;1.0.0-beta.1
167-
com.azure:azure-monitor-query;1.5.8;1.6.0-beta.1
167+
com.azure:azure-monitor-query;1.5.8;1.5.9
168168
com.azure:azure-monitor-query-logs;1.0.0;1.1.0-beta.1
169169
com.azure:azure-monitor-query-metrics;1.0.0;1.1.0-beta.1
170170
com.azure:azure-monitor-query-perf;1.0.0-beta.1;1.0.0-beta.1

sdk/monitor/azure-monitor-query-logs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Then include the direct dependency in the `dependencies` section without the ver
5858

5959
If you want to take dependency on a particular version of the library that isn't present in the BOM, add the direct dependency to your project as follows.
6060

61-
[//]: # ({x-version-update-start;com.azure:azure-monitor-query;current})
61+
[//]: # ({x-version-update-start;com.azure:azure-monitor-query-logs;current})
6262

6363
```xml
6464
<dependency>

sdk/monitor/azure-monitor-query-perf/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
<dependency>
3232
<groupId>com.azure</groupId>
3333
<artifactId>azure-monitor-query</artifactId>
34-
<version>1.6.0-beta.1</version> <!-- {x-version-update;com.azure:azure-monitor-query;current} -->
34+
<version>1.5.9</version> <!-- {x-version-update;com.azure:azure-monitor-query;current} -->
3535
</dependency>
3636
<dependency>
3737
<groupId>com.azure</groupId>

sdk/monitor/azure-monitor-query/CHANGELOG.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
# Release History
22

3-
## 1.6.0-beta.1 (Unreleased)
4-
5-
### Features Added
6-
7-
### Breaking Changes
8-
9-
### Bugs Fixed
3+
## 1.5.9 (2025-08-11)
104

115
### Other Changes
126

7+
- This package is deprecated in favor of the new libraries [azure-monitor-query-metrics](https://central.sonatype.com/artifact/com.azure/azure-monitor-query-metrics)
8+
and [azure-monitor-query-logs](https://central.sonatype.com/artifact/com.azure/azure-monitor-query-logs), available as of August 2025. The metrics query operations of MetricsQueryClient and MetricsQueryAsyncClient are retained within the management library [azure-resourcemanager-monitor](https://central.sonatype.com/artifact/com.azure.resourcemanager/azure-resourcemanager-monitor).
9+
While this package will continue to receive critical bug fixes, we strongly encourage you to upgrade. For transition support, read the migration
10+
guides for [migrating to azure-monitor-query-logs](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/monitor/azure-monitor-query/migration-guide-query-logs.md)
11+
and [migrating to azure-monitor-query-metrics](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/monitor/azure-monitor-query/migration-guide-query-metrics.md).
12+
1313
## 1.5.8 (2025-07-29)
1414

1515
### Other Changes

sdk/monitor/azure-monitor-query/README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Azure Monitor Query client library for Java
22

3+
> This package is deprecated in favor of the new libraries [azure-monitor-query-metrics](https://central.sonatype.com/artifact/com.azure/azure-monitor-query-metrics)
4+
and [azure-monitor-query-logs](https://central.sonatype.com/artifact/com.azure/azure-monitor-query-logs), available as of August 2025.
5+
While this package will continue to receive critical bug fixes, we strongly encourage you to upgrade. For transition support, read the migration
6+
guides for [migrating to azure-monitor-query-logs](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/monitor/azure-monitor-query/migration-guide-query-logs.md)
7+
and [migrating to azure-monitor-query-metrics](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/monitor/azure-monitor-query/migration-guide-query-metrics.md).
8+
39
The Azure Monitor Query client library is used to execute read-only queries against [Azure Monitor][azure_monitor_overview]'s two data platforms:
410

511
- [Logs](https://learn.microsoft.com/azure/azure-monitor/logs/data-platform-logs) - Collects and organizes log and performance data from monitored resources. Data from different sources such as platform logs from Azure services, log and performance data from virtual machines agents, and usage and performance data from apps can be consolidated into a single [Azure Log Analytics workspace](https://learn.microsoft.com/azure/azure-monitor/logs/data-platform-logs#log-analytics-and-workspaces). The various data types can be analyzed together using the [Kusto Query Language][kusto_query_language].
@@ -66,7 +72,7 @@ If you want to take dependency on a particular version of the library that isn't
6672
<dependency>
6773
<groupId>com.azure</groupId>
6874
<artifactId>azure-monitor-query</artifactId>
69-
<version>1.6.0-beta.1</version>
75+
<version>1.5.9</version>
7076
</dependency>
7177
```
7278

sdk/monitor/azure-monitor-query/pom.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,11 @@
1111

1212
<groupId>com.azure</groupId>
1313
<artifactId>azure-monitor-query</artifactId>
14-
<version>1.6.0-beta.1</version> <!-- {x-version-update;com.azure:azure-monitor-query;current} -->
14+
<version>1.5.9</version> <!-- {x-version-update;com.azure:azure-monitor-query;current} -->
1515

1616
<name>Microsoft Azure SDK for Azure Monitor Logs and Metrics Query</name>
17-
<description>This package contains the Microsoft Azure SDK for querying Azure Monitor's Logs and Metrics data sources.</description>
17+
<description>This package has been split into two newer libraries available at https://central.sonatype.com/artifact/com.azure/azure-monitor-query-metrics and https://central.sonatype.com/artifact/com.azure/azure-monitor-query-logs</description>
18+
1819

1920
<distributionManagement>
2021
<site>

0 commit comments

Comments
 (0)