Skip to content

Resource · Guide or article

Metrics

Explains metric collection by push (statsd, Azure Monitor) and pull (Prometheus), what to measure, and how dimension labels work. Useful for SRE, DevOps and backend candidates who may be asked how they would monitor a service or why a metrics system is struggling.

Reviewed

Open the original: Metrics (opens the original site in a new tab)

Practice this topicOpens the practice interviewer in System design mode; choose a question there.

Add to a roadmap

Keep this resource with a roadmap you follow. It appears as your own extra resource; the roadmap's steps don't change and it doesn't count toward your tracked steps.

Source content: English

Metrics provide a near real-time stream of data, informing operators and stakeholders about the functions the system is performing as well as its health. Unlike logging and tracing, metric data tends to be more efficient to transmit and store.

PrepKit overview

PrepKit editors wrote and reviewed this overview from the source repository. It is not text from the resource itself.

Suited to
The source does not state a level
Format
Article

What it covers

  • Push versus pull tradeoffs, such as throttling at scale for push and configuration and firewall complexity for pull
  • System health metrics (CPU, memory, request rate, queue length, exception counts, dependency latency) and business metrics such as jobs performed
  • Dimension labels like host, container, code version and region, and the warning against high-cardinality label values

How to use it

PrepKit study advice, not a claim made by the source.

List five metrics and their labels for a service you know, then check each label for cardinality: would a user ID or request ID sneak in? Being able to explain why a high-cardinality label hurts a metrics store is a good interview-ready outcome.

Scope and limitations

Short team guidance, not interview content, with no code or query examples. Azure Monitor and Azure Region are used as examples, and the Prometheus entry in the tool list links to an Azure Monitor page.

Access and format

English page on microsoft.github.io, free to read; text from Microsoft's CC BY 4.0 Code-With Engineering Playbook repository.

Reviewed by PrepKit on Oct 2, 2026. Listing source commit: 016770e43d8a

Evidence behind this overview
  • docs/observability/pillars/metrics.md

Pages that include this

Get the PrepKit newsletter

Optional. You don't need it to use PrepKit.

How we handle your email