FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
Built a lightweight Prometheus tool to rightsize CPU/RAM
NewsSystems

Built a lightweight Prometheus tool to rightsize CPU/RAM

via Dev.toNikolai1mo ago

I recently had to urgently optimize resources across 200 servers in our environment. Our cloud provider doesn’t offer any built-in rightsizing or capacity optimization tools, and I couldn’t find a simple open-source solution focused specifically on CPU/RAM rightsizing based on Prometheus metrics. The goal was simple: Analyze historical usage Calculate realistic resource requirements Identify reclaimable CPU cores and RAM The tool: Pulls metrics from Prometheus Calculates p95 CPU usage (non-idle cores, summed per instance) Calculates p95 RAM usage Applies a configurable safety margin (default 20%) Ensures CPU minimum = 1 core Rounds RAM to 0.5 GB Generates: Reclaim recommendations Grow recommendations (if under-provisioned) Provides a simple web UI to explore: Total reclaimable CPU/RAM Per-job breakdown Per-host details It supports: Linux (node_exporter) Windows (windows_exporter) Architecture is intentionally simple: Prometheus → Analyzer → JSON → FastAPI → Web UI It’s not meant to rep

Continue reading on Dev.to

Opens in a new tab

Read Full Article
37 views

Related Articles

Most scientific models assume the system already exists.
News

Most scientific models assume the system already exists.

Medium Programming • 3d ago

Why 90% of Claude Code Users Are Missing Its Most Powerful Feature ‍♂️
News

Why 90% of Claude Code Users Are Missing Its Most Powerful Feature ‍♂️

Medium Programming • 3d ago

A Review on Language Models as Knowledge Bases
News

A Review on Language Models as Knowledge Bases

Dev.to • 3d ago

Observa 0.2.0: Dashboards, Alerting, Backups, and Data Export
News

Observa 0.2.0: Dashboards, Alerting, Backups, and Data Export

Medium Programming • 3d ago

Samsung Galaxy Buds 4 Pro vs. Bose QuietComfort Ultra 2: I tested both, and here's the winner
News

Samsung Galaxy Buds 4 Pro vs. Bose QuietComfort Ultra 2: I tested both, and here's the winner

ZDNet • 3d ago

Discover More Articles