Interview Prep/Monitoring & Observability/Long-Term Storage, Scale and Cost

Your team wants to replace Prometheus with VictoriaMetrics to reduce memory. How do you evaluate it?

IntermediateScenarioLong-Term Storage, Scale and Cost
Answer

Situation read → A storage change affects queries, alerts and dashboards. Measure before switching.

What I'd do →

  1. Dual-write: add remote_write from Prometheus to a VictoriaMetrics instance (or run vmagent in parallel).
  2. Compare memory, CPU and disk for the same ingestion over two weeks.
  3. Run the alert rules with vmalert and compare firing alerts with Prometheus.
  4. Point a copy of key dashboards to VictoriaMetrics and check differences. MetricsQL differs from PromQL in edge cases (e.g. rate() extrapolation and lookbehind windows).
  5. Check operational fit: backups (vmbackup), HA, upgrades and support.

Why → Shadow running proves the savings and shows query differences before users notice.

Interview tip → Mention that compatibility is high but not 100%; alerts must be validated.

All Monitoring & Observability questions

More on Long-Term Storage, Scale and Cost