azure_metrics
Query Application Insights metrics such as request or exception counts. Specify timespan, interval, aggregation, and resource ID to filter results.
Instructions
Query Application Insights metrics
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| metric_name | Yes | Metric name (e.g., requests/count, exceptions/count) | |
| timespan | No | ISO 8601 duration | PT1H |
| interval | No | Aggregation interval | PT5M |
| aggregation | No | Aggregation type | avg |
| resource_id | No | Azure resource ID (uses AZURE_APP_INSIGHTS_RESOURCE_ID env if not set) |