Leadership asks whether to buy a commercial APM or build on open source (OTel + Grafana stack). How do you decide?
AdvancedScenarioTracing and OpenTelemetry
Answer
Situation read → Build versus buy trade-off: cost, staff time, features, lock-in.
What I'd do →
- Estimate data volume (spans, series, logs per day) and price both options for 3 years.
- Count the engineering time needed to run Tempo, Mimir and Loki at scale (on-call, upgrades).
- Compare features: AI-assisted root cause, RUM, profiling, alert quality.
- Instrument with OpenTelemetry either way so switching later is cheap.
- Run a proof of concept with one critical service on both.
Why → OTel instrumentation decouples the decision from the code; the backend becomes swappable.
Interview tip → "Instrument with open standards, choose the backend on cost and capability."
More on Tracing and OpenTelemetry
Your company has 30 microservices and no tracing. How do you roll out distributed tracing?IntermediateTraces stop at service B: you see spans from A, but B's spans start new traces. What is wrong?BeginnerTracing every request costs too much. How do you design sampling?IntermediateYou set up tail sampling with 4 Collector replicas, but traces are fragmented and error traces are missing. Why?AdvancedA checkout request takes 4 seconds. Walk through how you use a trace to find the cause.BeginnerYour OpenTelemetry Collector is getting OOMKilled under load. How do you stabilise it?Intermediate