OpenParable
Skip to content
← Back to skills

Skill Metrics

DevOps & Security
skill-metrics

Skill Metrics is an Agent Skill for devops & security published in the microsoft/azurelinux repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

[Skill] metrics, azure-monitor, aks - Query Azure Monitor metrics for Koji AKS node CPU, memory, disk usage, and pod readiness.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/microsoft/azurelinux/blob/HEAD/.github/skills/skill-metrics/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/skill-metrics, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Koji Azure Monitor Metrics

Tools

ToolPurpose
monitor_metrics_definitionsDiscover available metrics for a resource
monitor_metrics_queryQuery metric time-series values

Key metric namespaces

AKS (Microsoft.ContainerService/managedClusters)

MetricDescription
node_cpu_usage_percentageNode CPU utilization
node_memory_working_set_percentageNode memory utilization
kube_pod_status_readyPod readiness count
node_disk_usage_percentageNode disk utilization

Common query patterns

Use aggregation: "Average" and interval: "PT1H" for hourly trends, interval: "PT5M" for granular views.

Example: Query AKS node CPU and memory over the last 24 hours:

  • resource: AKS cluster name from deployment summary
  • metric-names: node_cpu_usage_percentage,node_memory_working_set_percentage
  • metric-namespace: Microsoft.ContainerService/managedClusters
  • aggregation: Average
  • interval: PT1H