Skip to content
tezvyn:

Metrics

400 bites tagged Metrics — interview questions with model answers, and 60-second explainers.

UX Research2 min read

Tracing a research insight to shipped code

Give insights stable IDs, link them through tickets to commits and feature flags via tool integrations, measure outcome metrics. Traceability across tools.

UX Research1 min read

Instrumenting a feature to validate a qualitative insight

Restate the pain as a hypothesis, define a primary behavioral metric plus guardrails, instrument events, compare against baseline. Turning qualitative pain into measurable signals.

UX Research1 min read

Turning a vague onboarding goal into research questions

Define success metrics, decompose the funnel, pair quantitative drop-off with qualitative why. Translating fuzzy goals into testable questions. Jumping straight to a method or feature before agreeing on what success means.

React Native1 min read

How do you catch RN performance regressions?

Track TTI, JS and UI thread FPS, and memory; baseline them and gate CI with automated tools like Flashlight, using the React profiler and DevTools to diagnose. performance strategy and metrics.

Product Strategy1 min read

Detecting and fixing metric hacking

Look for diverging counter-metrics and anomalous patterns, then pair KRs with guardrail metrics or redefine to a truer proxy. Whether you spot Goodhart's law and fix proxy metrics.

Product Strategy1 min read

Writing engineering-owned KRs for engagement

Tie KRs to engagement-influencing levers like latency, reliability, and activation; make each measurable and time-bound. Whether you write outcome KRs an engineering team can own.

Product Strategy1 min read

Platform team metrics versus product team metrics

Measure adoption, reliability SLOs, integration time, and self-service ratio over user engagement. platforms serve developers, not end users. copying consumer metrics like DAU onto a platform with no end users.

Monitoring & SRE2 min read

Capacity planning for a distributed cache

Track hit ratio, memory and eviction rate, throughput/latency, and connections; correlate with growth to forecast when to add capacity before the hit ratio or evictions… Whether you can pick the right cache metrics and forecast scaling.

Monitoring & SRE2 min read

Design a simple chaos experiment for a cache dependency?

Hypothesis that the service degrades gracefully when Redis is unavailable, monitor error rate, latency, DB load, and cache hit rate. Applying chaos thinking to a cache.

Monitoring & SRE1 min read

What telemetry must a new microservice ship with?

Metrics for trends like p99 latency and error rate, structured logs for per-request detail, traces for cross-service causality. Practical observability literacy. Listing only host CPU dashboards and no request-level signals.

Monitoring & SRE1 min read

Measure ROI of toil reduction efforts

Track toil hours, percent of time on toil, incidents auto-resolved, and engineer cost saved, then frame as ROI and risk reduction. Quantifying automation value. vanity metrics or claiming success with no baseline measurement.

Monitoring & SRE1 min read

Measuring post-incident review effectiveness

Track action-item completion and age, repeat-incident rate, time-to-publish, and MTTR trend. Treating the review process as a measurable system.

Monitoring & SRE1 min read

Measuring on-call health quantitatively

Track pages per shift especially off-hours, actionability rate, time-to-resolve, and load distribution; use trends to prioritize reliability work and protect against burnout. turning on-call pain into data that justifies investment.

Monitoring & SRE2 min read

Redesigning a high-cardinality request metric

Cardinality is unique label combinations; user_id and raw path are unbounded; redesign by dropping user_id and templating the path. Diagnosing and fixing label explosion.

Monitoring & SRE2 min read

Essential tags for a request latency metric

Add method, route template, status code, and maybe service or region; they enable slicing while staying low-cardinality. Choosing useful, bounded metric labels. Adding user IDs or raw URLs, exploding cardinality.

Monitoring & SRE2 min read

The three pillars of observability

Metrics show what and when via cheap aggregates, logs give detailed per-event context, traces show where across services. Knowing each telemetry type's strength.

Monitoring & SRE1 min read

What is high-cardinality data in Prometheus?

Cardinality is the count of unique label combinations; each is a separate series; explosion blows up memory and query cost. Understanding time-series storage cost.

Monitoring & SRE1 min read

Explain the three pillars of observability

Metrics are cheap aggregated time series for detecting and alerting, logs are discrete event records for detail and context, traces follow one request across services to localize latency. practical command of metrics, logs, and traces.

Monitoring & SRE1 min read

Review of Reviews (Postmortem Metrics)

A meta-process that audits the quality and follow-through of postmortems themselves, tracking metrics like action-item completion, time-to-close, and recurrence of incidents.

Monitoring & SRE2 min read

Metrics in Observability

Metrics are numeric measurements aggregated over time, like counters, gauges, and histograms. They are cheap to store and fast to query, making them ideal for dashboards and alerting, but their pre-aggregation discards per-event detail needed for deep…

LLMs & Generative AI1 min read

Measuring fairness in an embedding-based text classifier

Define group definitions, apply demographic parity and equalized odds, and address noisy labels and implicit group membership. Operationalizing fairness metrics on text.

LLMs & Generative AI1 min read

How FID is calculated versus Inception Score

FID fits Gaussians to Inception features of real and fake images then measures Frechet distance; it uses real references and detects mode collapse. deep grasp of generative metrics. claiming IS uses real data.

LLMs & Generative AI1 min read

Standard metric for image generation quality

Name FID, explain it compares feature distributions of real and generated images via a pretrained network. knowledge of generative model evaluation. relying only on eyeballing samples or pixel-level MSE.

LLMs & Generative AI1 min read

Perplexity versus BLEU for LMs

Perplexity measures intrinsic next-token prediction quality needing no references; BLEU measures n-gram overlap with reference outputs for tasks like translation. choosing the right LM metric.

Get Metrics bites daily.

Five a day, five minutes, offline. With quizzes so it sticks.

Open testing — you’ll join as an early tester.