java-azure-monitor-queries
DevOps & InfrastructureTeaches how to write Java code that runs Kusto (KQL) queries against Azure Log Analytics workspaces and reads metric time series from Azure resources using the Azure Monitor Query SDK for Java. Covers Maven setup, DefaultAzureCredential authentication, sync and async clients, batch queries, options such as server timeouts, statistics, visualization and additional workspaces, POJO result mapping, response structure, and handling of partial failures and HTTP errors. Use when the user wants Java examples or fixes involving LogsQueryClient, MetricsQueryClient, MetricsClient, KQL against a workspace, or resource metrics reads. Not for ingesting logs, creating alerts or workspaces, direct Azure Data Explorer queries, or non-Java languages.
- Version
- v1.0.0
- Size
- 19 KB
- Updated
- 2026-10-06
$ skilvault read --manual java-azure-monitor-queriesYour client verifies the signature before reading. This explicit manual read is available on every plan. Free automatically loads five chosen skills; paid plans automatically load relevant skills across the library.