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.
More on Storage, Key Vault and Monitoring
What types of storage accounts and services exist?BeginnerWhat are the storage redundancy options?BeginnerExplain blob access tiers and lifecycle management.IntermediateWhat is a SAS token and what are the types?IntermediateHow do you lock down a storage account?IntermediateWhat protects blobs from accidental deletion?Intermediate