azure-monitor-query-java
Azure Monitor Query SDK for Java. Execute Kusto queries against Log Analytics workspaces and query metrics from Azure resources. Triggers: "LogsQueryClient java", "MetricsQueryClient java", "kusto query java", "log analytics java", "azure monitor query java". Note: This package is deprecated. Migrate to azure-monitor-query-logs and azure-monitor-query-metrics.
Target: Cloud, operations & security. Automatically collected · unverified.
Excerpt from the author’s documentation
Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.
Read the original English text
Topics in the source
- Azure Monitor Query SDK for Java
- Installation
- Prerequisites
- Environment Variables
- Client Creation
- LogsQueryClient (Sync)
- LogsQueryAsyncClient
- MetricsQueryClient (Sync)
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. Or use Azure SDK BOM: Log Analytics workspace (for logs queries) Azure resource (for metrics queries) TokenCredential with appropriate permissions | 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 | 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.
This is an excerpt. Refer to the complete source and its current requirements.
- Source repository
- microsoft/skills
- Source file
- .github/plugins/azure-sdk-java/skills/azure-monitor-query-java/SKILL.md
- Fixed revision
- 9287b443662d2433c85621c7325ee72a0ce499b5
Sources and evidence
This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.
Author: Microsoft Skills · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-10T19:02:06.236Z.
Categories are inferred from names, descriptions and paths. They do not establish compatibility.
License and attribution
MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.
Original license ↗Synchronization, copying and user-reported success do not mark a resource as runtime-tested.
Limitations and notes
- Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.