Skip to main content
skill CX Codex

azure-metrics-advisor — Claude Code skill: setup

azure-metrics-advisor is a Claude Code skill for configuring Azure AI Metrics Advisor, from data feeds and anomaly detection to alerts and REST API integrations.

CC-BY-4.0 166 installs ★ 818 updated 2026-10-25

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add MicrosoftDocs/Agent-Skills --skill azure-metrics-advisor -a claude-code
Open on GitHub

What azure-metrics-advisor does

The skill covers connecting data sources, configuring alert hooks, and tuning anomaly detection. Its reference material also discusses service quotas, cost management, security, and credentials used for data sources.

For application work, it covers ingestion queries and the Metrics Advisor REST API and client SDKs. Local reference material is paired with remote Microsoft documentation fetched through mcp_microsoftdocs:microsoft_docs_fetch or fetch_webpage. Network access is required, so remote documentation cannot be retrieved offline.

What it helps with

  • connect a data source to Metrics Advisor
  • configure anomaly detection and alert hooks
  • check service limits and quotas
  • set up credentials and authentication
  • call Metrics Advisor from an application with its REST API or SDK

Example prompts for the agent

  • Help me connect a data source to Azure AI Metrics Advisor and check the ingestion query.
  • Configure anomaly detection and webhook alerts for my Metrics Advisor instance.
  • Show how to call the Metrics Advisor REST API from my application.

How to install azure-metrics-advisor

1Skills CLI (Vercel)

npx skills add MicrosoftDocs/Agent-Skills --skill azure-metrics-advisor -a claude-code

2Manually: put the files in place

~/.claude/skills/azure-metrics-advisor/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/azure-metrics-advisor/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about azure-metrics-advisor

How do I install azure-metrics-advisor in Claude Code?

Run npx skills add MicrosoftDocs/Agent-Skills --skill azure-metrics-advisor -a claude-code. The skill file is at ~/.claude/skills/azure-metrics-advisor/SKILL.md.

What does azure-metrics-advisor do?

It provides development guidance for Azure AI Metrics Advisor, including data feeds, anomaly detection, alert configuration, security, and REST API or SDK integrations.

Does azure-metrics-advisor need network access?

Yes. It retrieves Microsoft documentation with mcp_microsoftdocs:microsoft_docs_fetch or fetch_webpage, so remote documentation requires a network connection.

Source text

SKILL.md · CC-BY-4.0
---
name: azure-metrics-advisor
description: Expert knowledge for Azure AI Metrics Advisor development including decision making, limits & quotas, security, configuration, and integrations & coding patterns. Use when configuring data feeds, tuning anomaly detection, managing alerts/hooks, or calling Metrics Advisor REST/SDKs, and other Azure AI Metrics Advisor related development tasks. Not for Azure AI Anomaly Detector (use azure-anomaly-detector), Azure Monitor (use azure-monitor), Azure Stream Analytics (use azure-stream-analytics).
compatibility: Requires network access. Uses mcp_microsoftdocs:microsoft_docs_fetch or fetch_webpage to retrieve documentation.
metadata:
  generated_at: "2026-06-14"
  generator: "docs2skills/1.0.0"
---
# Azure AI Metrics Advisor Skill

This skill provides expert guidance for Azure AI Metrics Advisor. Covers decision making, limits & quotas, security, configuration, and integrations & coding patterns. It combines local quick-reference content with remote documentation fetching capabilities.

## How to Use This Skill

> **IMPORTANT for Agent**: Use the **Category Index** below to locate relevant sections. For categories with line ranges (e.g., `L35-L120`), use `read_file` with the specified lines. For categories with file links (e.g., `[security.md](security.md)`), use `read_file` on the linked reference file

> **IMPORTANT for Agent**: If `metadata.generated_at` is more than 3 months old, suggest the user pull the latest version from the repository. If `mcp_microsoftdocs` tools are not available, suggest the user install it: [Installation Guide](https://github.com/MicrosoftDocs/mcp/blob/main/README.md)

This skill requires **network access** to fetch documentation content:
- **Preferred**: Use `mcp_microsoftdocs:microsoft_docs_fetch` with query string `from=learn-agent-skill`. Returns Markdown.
- **Fallback**: Use `fetch_webpage` with query string `from=learn-agent-skill&accept=text/markdown`. Returns Markdown.

## Category Index

| Category | Lines | Description |
|----------|-------|-------------|
| Decision Making | L33-L37 | Guidance on estimating, controlling, and optimizing Metrics Advisor costs and usage, including pricing factors, quotas, and cost-management best practices. |
| Limits & Quotas | L38-L42 | Service limits for Metrics Advisor: max metrics, dimensions, alerts, data ingestion rates, detection constraints, and guidance on scaling within quotas. |
| Security | L43-L48 | Configuring Metrics Advisor security: data encryption, auth options (keys, AAD), and creating/managing secure credential entities for data sources and monitoring. |
| Configuration | L49-L53 | Setting up Metrics Advisor: configuring alert hooks (email/webhook), alerting rules, data feed and detection settings, and tuning anomaly detection behavior for your instance. |
| Integrations & Coding Patterns | L54-L58 | Connecting Metrics Advisor to various data sources, crafting valid ingestion queries, and using its REST API/SDKs to integrate anomaly detection into applications |

### Decision Making
| Topic | URL |
|-------|-----|
| Plan and manage Azure Metrics Advisor costs and usage | https://learn.microsoft.com/en-us/azure/ai-services/metrics-advisor/cost-management |

### Limits & Quotas
| Topic | URL |
|-------|-----|
| Understand Metrics Advisor limits and constraints | https://learn.microsoft.com/en-us/azure/ai-services/metrics-advisor/faq |

### Security
| Topic | URL |
|-------|-----|
| Configure encryption and authentication for Metrics Advisor | https://learn.microsoft.com/en-us/azure/ai-services/metrics-advisor/encryption |
| Create and manage Metrics Advisor credential entities securely | https://learn.microsoft.com/en-us/azure/ai-services/metrics-advisor/how-tos/credential-entity |

### Configuration
| Topic | URL |
|-------|-----|
| Configure Metrics Advisor instance and detection settings | https://learn.microsoft.com/en-us/azure/ai-services/metrics-advisor/how-tos/configure-metrics |

### Integrations & Coding Patterns
| Topic | URL |
|-------|-----|
| Connect diverse data sources to Metrics Advisor | https://learn.microsoft.com/en-us/azure/ai-services/metrics-advisor/data-feeds-from-different-sources |
| Use Metrics Advisor REST API and client SDKs | https://learn.microsoft.com/en-us/azure/ai-services/metrics-advisor/quickstarts/rest-api-and-client-library |

© MicrosoftDocs · CC-BY-4.0 · MicrosoftDocs/Agent-Skills

Similar skills

All skills for Cloud: AWS, Azure, GCP →
azure-ai-anomalydetector-java Microsoft azure-ai-anomalydetector-java is a Claude Code skill for building Java apps that detect anomalies in time-series data. It activates for single-series checks, correlated signals, and trend changes. CX Codex +1 ★ 3,232repo stars azure-speech-to-text-rest-py Microsoft azure-speech-to-text-rest-py — a skill for short audio transcription via the Azure Speech REST API in Python. It handles speech recognition under 60 seconds without installing the Speech SDK. CX Codex +1 2installs azure-devops sanjay3290 A skill for Claude Code, Codex, Cursor, GitHub Copilot, and Gemini CLI that connects to Azure DevOps over REST API v7.1. Spans 13 domains with 99 tools: work items, repos, PRs, pipelines, wikis, test plans, and security alerts. CX Codex +1 371installs aws-startup-advisor Amazon Web Services aws-startup-advisor recommends lean AWS architectures tailored to startup stage, runway, and credits. Scaffolds Terraform and handles migrations from Azure, GCP, or Heroku to AWS and Bedrock. ★ 3,536repo stars copilot-usage-metrics official github copilot-usage-metrics is a GitHub Copilot skill that retrieves usage metrics for organizations and enterprises. It can return aggregate figures or user-level data for a chosen date. CX Codex +1 8,700installs kibana-anomaly-detection elastic kibana-anomaly-detection investigates Elastic ML anomalies, explains detector scores, and troubleshoots failed datafeeds. Useful for root-cause analysis across Elasticsearch jobs. CX Codex +1 3,500installs

From the same set144

The whole set →
azure-video-indexer azure-video-indexer guides agents on Azure AI Video Indexer development, live camera insights, speech models, security, and API integrations. CX Codex +1 166installs azure-extended-zones This skill guides Azure Extended Zones work with quotas, security, and configuration. Use it for subscription access, policy, firewall, and disk encryption tasks. CX Codex +1 166installs azure-sovereign-us azure-sovereign-us — a skill for Azure US Government development. Covers architecture, security, FedRAMP and DoD IL5, SACA patterns, and deployment in sovereign clouds on Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, and OpenCode. CX Codex +1 166installs azure-confidential-ledger A skill for Claude Code, Codex, and Cursor that guides Azure Confidential Ledger development. Supplies architectures, quota checks, and deployment templates directly into agent context. CX Codex +1 166installs azure-carbon-optimization Agent skill for Azure Carbon Optimization: emission exports, RBAC setup and fixes when carbon data stops arriving. CX Codex +1 166installs azure-education-hub This skill covers Azure Education Hub tasks, including Azure for Students credits, yearly quotas, and Dev Tools for Teaching sign-in issues. CX Codex +1 165installs azure-impact-reporting Guides agents through Azure Impact Reporting setup, connecting Monitor alerts, Logic Apps, and HPC Guest Health reporting. CX Codex +1 165installs azure-peering-service Check Azure Peering Service prefix and routing requirements, including BGP, RPKI status, and AS number criteria. Useful when reviewing a peering configuration. CX Codex +1 165installs

Project sponsors

Companies that keep this analytics open