Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions sdk/monitor/migration-guide-query.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# How to migrate away from `azure-monitor-query`

To migrate away from the deprecated [azure-monitor-query](https://central.sonatype.com/artifact/com.azure/azure-monitor-query) package, see the table below.

| Client name | Replacement package | Migration guidance |
|--------------------------------------------------|---------------------------------|--------------------|
| `LogsQueryClient` / `LogsQueryAsyncClient` | [azure-monitor-query-logs] | [Guide][mg-lq] |
| `MetricsClient` / `MetricsAsyncClient` | [azure-monitor-query-metrics] | [Guide][mg-mq] |
| `MetricsQueryClient` / `MetricsQueryAsyncClient` | [azure-resourcemanager-monitor] | [Guide][mg-mq] |

<!-- LINKS -->
[azure-monitor-query-logs]: https://central.sonatype.com/artifact/com.azure/azure-monitor-query-logs
[azure-monitor-query-metrics]: https://central.sonatype.com/artifact/com.azure/azure-monitor-query-metrics
[azure-resourcemanager-monitor]: https://central.sonatype.com/artifact/com.azure.resourcemanager/azure-resourcemanager-monitor
[mg-lq]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/monitor/azure-monitor-query-logs/migration-guide.md
[mg-mq]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/monitor/azure-monitor-query-metrics/migration-guide.md