Designing a Monitoring Strategy: What to Measure, Azure Monitor Architecture, Workspaces and Data Retention

Microsoft Azure Architect Design AZ 301 55 min min read Updated: Nov 17, 2026 Intermediate
Designing a Monitoring Strategy: What to Measure, Azure Monitor Architecture, Workspaces and Data Retention
Intermediate Topic 1 of 3

Why Monitor?

  • Know when users are hurt before they tell you
  • Find the cause quickly
  • Plan capacity and prove SLOs
  • Meet audit and security needs

What to Measure: Golden Signals

SignalMeaningExample
LatencyHow long requests take95th percentile response time
TrafficHow much demandRequests per second
ErrorsHow many fail5xx rate
SaturationHow full resources areCPU, memory, queue length, DB DTU

Add business metrics such as orders per minute and availability tests from outside.

Monitoring Layers

LayerSource
ApplicationApplication Insights (requests, dependencies, exceptions)
Guest OS and workloadsAzure Monitor Agent, VM insights, Container insights
Azure resourcesPlatform metrics and resource logs (diagnostic settings)
SubscriptionActivity log, Service Health, Advisor
TenantEntra ID sign-in and audit logs
NetworkNSG flow logs / virtual network flow logs, Connection Monitor, Network Watcher

Log Analytics Workspace Design

ApproachUse when
Single central workspaceDefault for most, simplest queries and Sentinel, one place to alert
Workspace per regionData residency or large cross-region ingestion costs
Workspace per environment or teamStrong access separation, different retention
Per-tenant workspacesService providers, with Azure Lighthouse for cross-tenant access
  • Use resource-context RBAC so app teams see only their resources' logs in a shared workspace
  • Use table-level retention, Basic logs and Auxiliary table plans for cheap data. Check current plan names
  • Use data collection rules to filter and transform at ingestion

Retention Design

NeedSetting
Interactive queries for 30 to 90 daysWorkspace retention
Compliance for yearsArchive tier or export to storage with immutability
Security investigationsLonger retention for security tables

Cost Control

  • Collect only useful logs, not everything
  • Use daily cap carefully (it can stop collection)
  • Commitment tiers for large steady ingestion
  • Sample Application Insights telemetry for noisy apps

Requirements to Design Table

RequirementDesign
Detect outages in 5 minutesAvailability tests + metric alerts
Trace a request across 10 servicesApplication Insights distributed tracing with OpenTelemetry
Keep audit logs 7 yearsArchive or immutable storage export
Developers must not see other teams' logsResource-context RBAC or separate workspaces
Compare dev, test and prodTags and workbooks by environment

Practice

  1. List golden signals for an online store
  2. Choose a workspace design for three regions with data residency rules
  3. Design retention for security and application logs

Conclusion

Design monitoring from goals: measure latency, traffic, errors and saturation at app, resource, subscription and tenant layers, use a thoughtful workspace and retention design and control ingestion cost.

Quick Summary: goals; golden signals; layers; workspaces; retention; cost; table.

Get Newsletter

Subscibe to our newsletter and we will notify you about the newest updates on Edugators