AI Coding · Microsoft · Medium
Problem Design a component that consumes log records from upstream services in real time. It must identify error entries, maintain each service's cumulative error total, calculate a moving average of recent error activity, and indicate when the configured alarm threshold has been met. Treat each error as 1 and every non-error record as 0 when computing the moving average. The average is calculated independently for each service over its most recent window_size records, or…
Checking your access…