Interview Prep/Azure/Storage, Key Vault and Monitoring

Metric alert vs log search alert: when do you use each?

IntermediateConceptStorage, Key Vault and Monitoring
Answer
  • Metric alerts: evaluate every minute on platform or custom metrics, low latency, cheap, support dynamic thresholds and multi-resource scope. Use for CPU, 5xx count, queue length, node readiness.
  • Log search alerts: run a KQL query on a schedule (1–15 minutes typical), flexible but delayed by ingestion latency (minutes) and billed per rule frequency.

Prefer metric alerts for paging signals; use log alerts for patterns metrics cannot express (specific exception text, correlated events). Route both through action groups, and use alert processing rules to suppress during maintenance.

Azure All Azure questions Roadmap: Azure core services

More on Storage, Key Vault and Monitoring