Agent skill · software engineering · aiskillstore
azure-monitor-query-java
Azure Monitor Query SDK for Java. Execute Kusto queries against Log Analytics workspaces and query metrics from Azure resources.
Why this skill is useful
Provides specific commands and patterns for querying Azure Monitor Logs and Metrics that the AI wouldn't reliably generate on its own.
What it needs
Requires maven installed locally. Requires azure account access. About 4k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.
What this skill does
Azure Monitor Query SDK for Java DEPRECATION NOTICE: This package is deprecated in favor of: - azure-monitor-query-logs — For Log Analytics queries - azure-monitor-query-metrics — For metrics queries See migration guides: Logs Migration Metrics Migration Client library for querying Azure Monitor Logs and Metrics. Installation Or use Azure SDK BOM: Prerequisites Log Analytics workspace (for logs queries) Azure resource (for metrics queries) TokenCredential with appropriate permissions Environment Variables Client Creation LogsQueryClient (Sync) LogsQueryAsyncClient MetricsQueryClient (Sync) MetricsQueryAsyncClient Sovereign Cloud Configuration Key Concepts Concept Description --------- ------------- Logs Log and performance data from Azure resources via Kusto Query Language Metrics Numeric time-series data collected at regular intervals Workspace ID Log Analytics workspace identifier Resource ID Azure resource URI for metrics queries QueryTimeInterval Time range for the query Logs Query Operations Basic Query Query by Resource ID Map Results to Custom Model Batch Query Query with Options Query Multiple Workspaces Metrics Query Operations Basic Metrics Query Metrics with Aggregations Query Multiple Resources (MetricsClient) Response Structure Logs Response Hierarchy Metrics Response Hierarchy Error Handling Best Practices 1. Use batch queries — Combine multiple queries into a single request 2. Set appropriate timeouts — Long queries may need extended server timeout 3. Limit result size — Use top or take in Kusto queries 4. Use projections — Select only needed columns with project 5. Check query status — Handle PARTIALFAILURE results gracefully 6. Cache results — Metrics don't change frequently; cache when appropriate 7. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills aiskillstore/azure-monitor-query-java