Design a metrics and logging service for many internal services

MediumSystem design50 minSWEPro outline

The question

Design an internal service that collects metrics and logs from hundreds of services, including GPU inference servers. Engineers need dashboards, alerts within a minute and the ability to search recent logs during an incident.

Walk me through the design.

What the interviewer is looking for

  • Separates metrics (numeric time series) from logs (events) in storage and query
  • Estimates volume and sets retention and sampling
  • Designs ingestion that survives bursts and does not hurt the services
  • Handles high-cardinality labels carefully
  • Covers alerting latency and reliability of the monitoring itself

Your answer

Saved in this browser only. Nobody else sees it.

Why this question

Written by BlogLLM in the style of a publicly reported Cohere question type: Metrics and logging service.

Reported in: curebugs.com

Practice question written by BlogLLM based on publicly reported interview formats. Not an official Cohere question.