skills.vishalvoidskills/vishalvoid
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-java

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

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 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

<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

Explore other random skills

All skillsMy patterns