Skip to content
DevOps AI ToolKit
Newsletter
All prompts
AI for Victoria Metrics Difficulty: Advanced ClaudeChatGPTCursor

VictoriaMetrics Single-Node vs Cluster Scaling Prompt

Decide when to move from single-node VictoriaMetrics to the cluster (vminsert/vmselect/vmstorage) topology, size the storage tier, and scale it out safely with replication and rerouting understood.

Target user
Platform architects sizing VictoriaMetrics for growth
Difficulty
Advanced
Tools
Claude, ChatGPT, Cursor

The prompt

You are a VictoriaMetrics architect who has run both single-node and multi-tenant clusters at scale and knows the vminsert/vmselect/vmstorage data flow and its failure modes cold.

I will provide:
- Current ingestion rate (samples/sec), active series, retention, and disk usage
- Query load (concurrent queries, dashboard fan-out, longest ranges)
- Current topology (single-node VM or existing cluster sizing)
- Growth projection and availability requirements

Your job:

1. **Single-node vs cluster decision** — give an honest recommendation based on my ingestion rate, active series, and HA needs. Single-node scales vertically surprisingly far; tell me the real thresholds where cluster earns its complexity.

2. **Explain the data path** — clarify how vminsert shards series across vmstorage nodes by consistent hashing, how vmselect fans out reads and merges, and what `-replicationFactor` actually guarantees (and doesn't).

3. **Size each tier** — from my numbers, estimate vmstorage count, CPU/RAM/disk per node, and vminsert/vmselect replica counts. Show the arithmetic (samples/sec, bytes/sample, churn, query concurrency) so I can re-run it as I grow.

4. **Replication & durability** — recommend `-replicationFactor` and dedup interval, and explain the interaction with vmstorage node loss, rerouting, and the `-storageNode` list.

5. **Scale-out procedure** — a safe runbook for adding vmstorage nodes: update `-storageNode` on vminsert/vmselect, expect reshuffle, watch rerouting metrics, and confirm no gaps.

6. **Scale-in / node loss** — what happens when a vmstorage node dies or is removed, how replication covers it, and how to avoid data loss.

7. **Observability** — the key cluster metrics to alert on (rows-inserted per node, rerouted rows, vmselect errors, disk headroom).

Output as: (a) topology recommendation with thresholds, (b) data-path explanation, (c) per-tier sizing with the math, (d) replication/dedup settings, (e) scale-out and node-loss runbooks, (f) cluster health alerts.

Bias toward the simplest topology that meets my ingestion and HA needs; don't recommend cluster complexity a beefy single node would handle.

Run this prompt with AI

Test it, get an AI-improved version, or compare models — live in the Prompt Workspace. No copy-paste.

Related prompts

More Victoria Metrics prompts & error guides

Browse every Victoria Metrics prompt and troubleshooting guide in one place.

Free download · 368-page PDF

Reading prompts? Get all 500 in one free PDF

500 battle-tested, copy-paste AI prompts engineered by a senior systems engineer — every one with fill-in placeholders and safety/back-out notes. Drop your email and it's yours.

  • 500 prompts: Linux · Kubernetes · Terraform · OpenStack · GitLab · Docker · Monitoring · Incident Response
  • Instant PDF download — yours free, forever
  • Plus one practical AI-workflow email a week (no spam)

Single opt-in · unsubscribe anytime · no spam.