azure-monitor-query-java
Build Azure Monitor Queries in Java
Azure Monitor integrations require correct clients, query scopes, authentication, and response handling. This skill provides focused Java patterns for logs and metrics workflows.
Install with my Agent
Copy this request to your Agent. It includes the canonical Skill page and manifest.
Review the Skillstore skill "azure-monitor-query-java" from https://skillstore.io/skills/sickn33-azure-monitor-query-java.md and its manifest at https://skillstore.io/api/skills/sickn33-azure-monitor-query-java/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.Your Agent should still show its plan and request any confirmation required by the security policy.
Agent-readable resources
Use these links when an AI agent, crawler, or script needs clean context instead of reading the full page.
Test it
Using "azure-monitor-query-java". Plan a workspace activity query for the last day.
Expected outcome:
- Package path: use the current logs package because the combined package is deprecated.
- Authentication: use DefaultAzureCredential with workspace query permissions.
- Scope: query one workspace for 24 hours and limit returned columns and rows.
- Reliability: detect partial failures and record service error details.
Using "azure-monitor-query-java". Plan hourly TotalCalls and SuccessfulCalls metrics.
Expected outcome:
- Target: provide the full Azure resource identifier and metric namespace.
- Resolution: request one-hour granularity with average and count aggregations.
- Processing: inspect each time series and preserve dimension metadata.
- Efficiency: cache stable results and avoid requesting unnecessary intervals.
Using "azure-monitor-query-java". Prepare a migration from the deprecated combined package.
Expected outcome:
- Separate log queries from metric queries before changing dependencies.
- Map each client and model to its replacement package.
- Retest authentication, sovereign-cloud endpoints, batch behavior, and partial failures.
- Confirm current versions and migration notes in official Azure documentation.
Security Audit
SafeAll 45 external-command alerts are Markdown backticks or fenced examples, not executable shell constructs. The nine URL alerts are official service endpoints or references, and the credential-directory alert is a substring mismatch. No semantic threats or prompt injection were found.
Risk Factors
โ๏ธ External commands (45)
๐ Network access (9)
Share & cite this report
Share the versioned assessment report, neutral badge, embed card, and citations. Skillstore reports evidence without deciding whether this Skill is safe.
Copy report link
https://skillstore.io/skills/sickn33-azure-monitor-query-java/audits/6?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown badge
[](https://skillstore.io/skills/sickn33-azure-monitor-query-java?utm_source=security_passport_badge)HTML badge
<a href="https://skillstore.io/skills/sickn33-azure-monitor-query-java?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/sickn33-azure-monitor-query-java/security.svg" alt="Skillstore security assessment" loading="lazy"></a>Embed card
<iframe src="https://skillstore.io/embed/skills/sickn33-azure-monitor-query-java.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>Academic citations (APA ยท BibTeX ยท CFF)
APA citation
sickn33. (2026). azure-monitor-query-java security audit report (audit version 6) [Author version unspecified]. Skillstore. https://skillstore.io/skills/sickn33-azure-monitor-query-java/audits/6BibTeX citation
@techreport{sickn33-sickn33-azure-monitor-query-java-2026,
author = {sickn33},
title = {azure-monitor-query-java security audit report (audit version 6)},
institution = {Skillstore},
year = {2026},
number = {6},
url = {https://skillstore.io/skills/sickn33-azure-monitor-query-java/audits/6},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "azure-monitor-query-java security audit report (audit version 6)"
version: "unspecified"
type: report
authors:
- name: "sickn33"
date-released: "2026-07-23"
url: "https://skillstore.io/skills/sickn33-azure-monitor-query-java/audits/6"
identifiers:
- type: other
value: "skillstore:sickn33-azure-monitor-query-java:audit:6"
description: "Skillstore immutable audit report identifier"
Skillstore Score
Why this score Evidence Confidence: HighWhat You Can Build
Add Log Analytics to a Java service
Plan authenticated workspace queries, bounded time ranges, result mapping, and failure handling.
Investigate Azure resource metrics
Design metric queries with selected aggregations, granularity, dimensions, and caching.
Migrate deprecated monitor queries
Identify replacement packages and preserve logs and metrics behavior during migration.
Try These Prompts
Create a minimal Java approach for querying one Log Analytics workspace over 24 hours. Use placeholders and explain required permissions.
Design a Java metrics query for {resource_id} using {metric_names}, hourly granularity, and average plus count aggregations. Include failure handling.Build a batched logs-query approach for {workspace_id} using {queries}. Limit results, set timeouts, and map responses to their queries.Review this Azure Monitor query design: {design_summary}. Recommend current packages, least-privilege authentication, bounded queries, caching, and robust error handling.Best Practices
- Use bounded time ranges, projections, and row limits to control query cost and response size.
- Handle partial failures, service errors, and timeouts before processing query results.
- Use least-privilege Azure roles and migrate to the current logs and metrics packages.
Avoid
- Do not place real credentials, workspace identifiers, or subscription details in generated examples.
- Do not run unbounded Kusto queries when a smaller time range or projection meets the need.
- Do not start new production work on the deprecated combined package without a migration plan.
Frequently Asked Questions
Does this skill execute Azure queries?
Which Azure Monitor package should new projects use?
Can it help with Kusto queries?
Does it support asynchronous Java clients?
Can it target Azure sovereign clouds?
What information should I provide in a prompt?
Developer Details
Author
sickn33License
MIT
Skillstore revision
r2
Version notice
The author did not declare a version.
Repository
https://github.com/sickn33/antigravity-awesome-skills/tree/main/skills/azure-monitor-query-javaRef
f9e2c34b4f19c7f3e6b0a1e93227b5f77cc12526
Maintenance freshness
7/26/2026
Usage
7 downloads ยท 79 views
File structure
๐ SKILL.md