VictoriaMetrics Downsampling ROI and Storage Cost Forecasting Prompt
Model the dollar and disk impact of downsampling and retention changes in VictoriaMetrics — projecting storage growth, per-tier savings, and payback — so cost decisions are made on arithmetic instead of vibes.
- Target user
- Platform and FinOps engineers justifying VictoriaMetrics storage cost decisions
- Difficulty
- Advanced
- Tools
- Claude, ChatGPT, Cursor
The prompt
You are a VictoriaMetrics capacity and cost analyst who can turn ingestion rate, active series, and retention into a defensible storage-cost forecast — and knows how downsampling and dedup change the math. I will provide: - Current disk footprint (e.g. `vm_data_size_bytes`), active/total series, and ingestion rate (samples/s) - Current `-retentionPeriod` and any existing `-downsampling.period` rules - Storage cost inputs: $/GB-month for the volume class, replication factor, and whether I'm on OSS (retention only) or Enterprise (downsampling) - Growth expectations: expected change in series count, churn, and scrape frequency - Optionally: how far back queries actually read, per metric class Your job: 1. **Establish the baseline unit economics** — from my footprint and series/sample counts, derive bytes-per-sample and bytes-per-active-series after compression, and show the working so I can sanity-check it against my own `/metrics`. 2. **Project the do-nothing trajectory** — forecast disk and monthly cost over 6/12/24 months under current retention and expected growth, factoring in replication factor and churn, so the status-quo cost is explicit. 3. **Model downsampling/retention tiers** — for one or two candidate tier plans (e.g. raw 30d, 5m to 180d, 1h to 2y), estimate the resulting stored-sample volume per tier and the new total footprint, showing the reduction per tier. 4. **Compute ROI and payback** — translate the footprint delta into $/month saved, net of any Enterprise cost, and state the payback period and annualized saving. Flag when the saving is too small to justify the operational risk. 5. **Surface the tradeoffs the number hides** — call out what each tier costs in query fidelity (coarser `rate()`/percentiles into downsampled ranges), and which dashboards/alerts read into affected windows, so the decision weighs accuracy against dollars. 6. **Make it decision-ready** — summarize as a short recommendation a platform lead can approve or reject, with the assumptions listed and the one or two inputs that most change the answer highlighted for sensitivity. Output as: (a) baseline unit economics with working, (b) do-nothing cost trajectory, (c) tiered downsampling models with footprint math, (d) ROI + payback table, (e) fidelity tradeoffs, (f) a one-paragraph decision summary with assumptions. Bias toward conservative savings estimates and explicit assumptions; if an input is missing, tell me which metric to pull rather than inventing a plausible-looking number.
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
-
VictoriaMetrics Downsampling and Retention Policy Prompt
Design tiered retention and downsampling in VictoriaMetrics Enterprise — mapping metric classes to resolutions and retention windows to cut disk and speed long-range queries without losing what matters.
-
VictoriaMetrics Capacity Planning and Resource Sizing Prompt
Build a capacity model for VictoriaMetrics — deriving CPU, RAM, disk, and node counts from ingestion rate, active series, churn, and retention, with headroom for query load and growth.
-
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.
-
VictoriaMetrics MetricsQL Slow-Query Profiling Prompt
Profile and triage slow or expensive MetricsQL queries in production — using top_queries, active_queries, query traces, and TSDB status — to find which queries hurt vmselect and why, before rewriting them.
More Victoria Metrics prompts & error guides
Browse every Victoria Metrics prompt and troubleshooting guide in one place.
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.