KatInterview

Design a Telemetry System for an Internal Developer Platform

System DesignModel answer
MediumModel answerSystem Designtelemetrydeveloper-platformsmetrics

Last updated

Design the data pipeline, key metrics, and adoption strategy for an internal compute platform used by hundreds of engineering teams.

Background

Your company runs an internal Serverless Compute Platform that engineering teams use to deploy and operate their services. Despite a strong pitch from the platform team, adoption has plateaued. Leadership wants to know why, and they want instrumentation to back up any answer.

You are the lead engineer responsible for making that happen.


What to Design

Functional Requirements

  1. Usage tracking. Record which teams are active on the platform, which features they use (auto-scaling, integrated logging, secret management, etc.), and how often they deploy.
  2. Performance visibility. Capture the latency of control-plane operations and the end-to-end duration of deployment pipelines.
  3. Developer feedback. Let engineers report friction points from within the CLI or the web dashboard, with just enough context to make the report actionable.
  4. Adoption dashboard. Show, at a glance, what fraction of services have moved to the new platform versus how many are still running on legacy infrastructure.

Non-Functional Requirements

  1. Freshness. Dashboard numbers must reflect reality within 5 minutes.
  2. Scale. Expect at least 10,000 deployments per day, with bursty peaks.
  3. Privacy. Application code, environment variables, secret values, and anything that looks like a credential must never appear in telemetry data.

Scope of Your Answer

Cover three areas:

  • Data architecture — how events are collected, transported, processed, and stored.
  • Metric design — which numbers you would actually put in front of a skeptical team lead to convince them to migrate.
  • Adoption strategy — how you identify why specific teams are not migrating and what you do about it.

You do not need to design the platform itself, only the instrumentation and measurement layer around it.

Hints

Hint 1

The telemetry pipeline must never block or slow down an actual deployment. Think about where buffering and decoupling belong in your architecture.

Hint 2

You cannot compute 'percentage of services migrated' from platform events alone — legacy services emit no events. Where else does that denominator come from?

Hint 3

Before proposing fixes for resistant teams, ask whether their hesitation is a capability gap, a missing incentive, or a timing conflict. Each requires a different response.