← back

Instvisor

2026 · Go · Cloud . FinOps . Observability

Go Linux Cloud

A tool to analyze the load of the linux instance and recommends the correct sizing on the basis of statistical analysis of the collected metrics.

Problem

Cloud infrastructure costs are one of the biggest operational expenses for any engineering team, yet most instances are sized based on gut feeling or worst-case estimates rather than actual observed behavior. The typical workflow is: pick an instance size that feels safe, deploy it, and never revisit it — leading to fleets that are chronically over-provisioned by 40–60%. The tooling gap here is specific: Prometheus and node_exporter give you raw metrics, cAdvisor gives you container-level visibility, but nothing takes that data and tells you what size your machine should actually be. You're left exporting dashboards, eyeballing percentiles, and making manual judgment calls across dozens of instances. Instvisor was built to close that gap — a lightweight agent that observes real workload patterns over time and produces concrete, cloud-provider-aware instance sizing recommendations without any external dependencies.

Architecture

Instvisor follows a two-binary design inspired by cAdvisor's philosophy of running close to the kernel with minimal overhead.

Design Decisions

What I Learned

Key Numbers

Metric Value
Agent memory footprint < 50 MB RSS
Agent CPU overhead < 1% on a 2-core machine
Collection interval (default) 30 seconds
SQLite storage per day ~2 MB
Default analysis window 7 days
Supported cloud providers AWS, OTC, Azure
Percentiles computed P50, P90, P95, P99
Potential cloud cost reduction 30–70%
Binary size ~8 MB