Interview Prep/Monitoring & Observability/Observability as Code, Security & Vendor Choices

Self-hosted LGTM stack or a SaaS like Datadog: how do you decide?

IntermediateProductionObservability as Code, Security & Vendor Choices
Answer

Compare total cost, not license cost:

Factor Self-hosted (Prometheus, Loki, Tempo, Mimir) SaaS (Datadog, New Relic, Grafana Cloud)
Spend Infra plus 1–3 engineers to run it Per host, per GB, per custom metric; grows fast
Time to value Weeks Days
Control Full: retention, data residency, cardinality Vendor limits and pricing levers
Features Assemble yourself APM, RUM, security, ML alerts included

Rule of thumb: small teams without platform capacity buy; large fleets where SaaS bills reach the cost of a team often self-host or go hybrid (SaaS for APM, self-hosted metrics and logs). Instrument with OpenTelemetry either way so switching stays possible.

All Monitoring & Observability questions

More on Observability as Code, Security & Vendor Choices