Technical & DevelopmentIntermediate
azure-monitor-query-java
Query Azure Monitor logs and metrics
Developer Setup
Setup & Installation
bash
npx skills add https://github.com/microsoft/skills --skill azure-monitor-query-javanpx skills add https://github.com/microsoft/skills --skill azure-monitor-query-javaOr paste this URL into your assistant to install:
Overview
What This Skill Does
Java SDK for querying Azure Monitor data. Supports Kusto queries against Log Analytics workspaces and fetching metrics from Azure resources using LogsQueryClient and MetricsQueryClient. Note: this package is deprecated; migrate to azure-monitor-query-logs and azure-monitor-query-metrics.
Application
When to use this Skill
- Configuring integration settings for custom agent workflows.
- Optimizing query execution and response latency in production.
- Developing clean, standard-compliant implementations for enterprise services.
- Troubleshooting connection timeouts and authentication handshakes.
- Monitoring API rate limits and execution pipelines programmatically.
Documentation
Show Skills.md file
Azure Monitor Query SDK for Java
DEPRECATION NOTICE: This package is deprecated in favor of:
azure-monitor-query-logs— For Log Analytics queriesazure-monitor-query-metrics— For metrics queriesSee migration guides: Logs Migration | Metrics Migration
Client library for querying Azure Monitor Logs and Metrics.
Installation
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-monitor-query</artifactId>
<version>1.5.9</version>
</dependency>
Or use Azure SDK BOM:
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-sdk-bom</artifactId>
<version>{bom_version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-monitor-query</artifactId>
</dependency>
</dependencies>
Lines 1 - 42 of 420
Recommendations