VitalRix
Every host on a map. Every pod in a hierarchy.
A host map coloured by CPU, memory or disk shows where heat is building. Click into any host for utilization over time, or walk Kubernetes from cluster to namespace to workload to pod. Start with one small file, or send metrics from an OpenTelemetry Collector.
8 min read8 sectionsUpdated
On this page
The problem: the application is slow and nobody knows where it runs
Traces tell you a request was slow. They do not tell you that the host serving it is at 94 percent CPU, or that one of six pods has been restarting every few minutes, or that the disk is nearly full. The cause is often one level down from where you are looking, and the quickest way to find it is to look at the machines.
Teams usually either have no infrastructure view, or have one tool for it with its own agent, its own account and its own idea of what a service is called. The application and its hosts never line up, so correlating them is manual.
VitalRix reads host and pod metrics into the same place as your logs, traces and uptime. The host carries the same application name your traces use, so a hot host and a slow service can be read side by side, and an alert on either one lands in the same incident flow.
Who uses it, and for what
- On-call engineers open the host map when latency rises with no deploy: one tile hotter than the rest is the answer more often than you would think.
- Platform and SRE teams use the Kubernetes view after a release to check that every pod is reporting and see where restarts came from.
- Service owners use the Pods & CPU tab on their application to see how many instances are running and how busy they are.
- Capacity planners compare used CPU with limits per instance over a week or a month to find over- and under-provisioned services.
- Teams on a single server want something lighter than a full observability stack: one file, one command, a chart and an alert.
Viewing needs metric.read, which every role has. Creating the agent's key needs an administrator, because it needs api_key.manage.
The views, one by one
Infrastructure has three pages in the sidebar, a host detail page under the map, and a tab on every application.
| View | Where | What you see | What you can do |
|---|---|---|---|
| Host map | Infrastructure | One hexagon per host, container or pod that reported in the selected range, coloured in five steps of 20 points. Summary tiles show how many are reporting, average CPU, average memory and the fullest disk, with a table below. | Colour by CPU, memory or disk. Group by none, Application, Environment or Kubernetes cluster. Click a tile to open the host. |
| Host detail | Click a tile | Latest CPU, memory, disk and status. A utilization chart of all three over the range. Its place in Kubernetes with a link to the Kubernetes view. A processes table when per-process data is collected. | Sort processes by CPU or memory. Change the header time range. |
| Kubernetes | Infrastructure, Kubernetes | Clusters, namespaces, workloads and pods, with CPU and memory used against limits as meters, restarts, and a Reporting or Not reporting badge. Tiles for clusters, pods reporting, CPU in use and restarts. | Expand a namespace, read a pod, jump back to its host. |
| Runtime metrics | Infrastructure, Runtime metrics | Per-metric charts of language runtime data such as event loop, heap and JVM, from APM. | Follow a runtime symptom to the host. |
| Pods & CPU | An application, Pods & CPU tab | Instances running, CPU used against cores, CPU over the last 60 minutes, CPU by instance (busiest 12) and an instance list. | Set up the agent, create a CPU or memory alert, see when something stops reporting. |
A host map you can read at a glance
Hexagons coloured green to red in 20-point steps, grouped by application, environment or Kubernetes cluster. A dashed grey tile is a host that stopped reporting, which is easy to miss in a table.
CPU against each instance's own limit
CPU is shown as a share of the cores that instance is allowed to use, from its container limit when there is one. A pod at 90 percent of a half-core limit is hot even though the machine is idle.
Kubernetes from cluster to pod
Clusters, namespaces, workloads and pods, with CPU and memory meters against limits, restart counts and reporting status. Pod counts follow your autoscaler.
A CPU or memory alert in one form
On the Pods & CPU tab, choose CPU is too high or Memory is too high, set the limit and minutes, and pick channels. The rule watches each instance separately, so one hot pod alerts while the others idle.
A key that can only write metrics
The agent needs an API key with metric.write. A leaked key cannot read your data. The agent sends metrics only: no code, logs, files or environment variables.
Two sources, one view
Report with the VitalRix agent, or send host and Kubernetes metrics from an OpenTelemetry Collector. A pod reported by both counts once, and the agent's values win.
The agent, in plain terms
The agent is one file, infra-agent.mjs, with no dependencies. It needs Node.js 18 or newer (disk usage needs 18.15). You download it from your VitalRix site, set a few environment variables and run it next to your application.
Every 10 seconds by default it reports these metrics, each labelled with your application name, environment and instance:
infra.cpu_percentis CPU used, in percent of one core, so 250 means two and a half cores.infra.cpu_coresis the cores available, using the container limit when there is one.infra.cpu_utilization_percentis CPU as a share of this instance's own cores, 0 to 100. This is the one alerts watch.infra.memory_mbandinfra.memory_limit_mbare memory in use and the limit (or the machine's memory).infra.disk_used_percentis how full the root filesystem is.infra.agent_startis sent once at start. More than one start for the same pod in a range counts as a restart.
An instance counts as running while it keeps reporting, and drops off within about a minute after you stop the agent.
Where and how to run it
| Where | How |
|---|---|
| Server or VM | Run it with Node.js and keep it alive with systemd, pm2 or nohup. One agent per machine reports the whole machine. |
| Docker | Add the file to the image and start it in the background before your app, with the variables set. If the image has no Node.js, run the agent on the host instead. |
| Kubernetes | Start it inside the application container, with a secret for the key. Then each pod reports its own CPU against its own limit, and instances running equals your pod count. A separate sidecar would only measure itself. |
The agent reports a problem once, for example when the key is rejected, and keeps trying. It runs as its own process, so it does not sit inside your application's request path.
It never reads per-process data. The whole machine or container is one reading. For a processes table, send the OpenTelemetry Collector's process scraper too.
Do I need a separate agent for each service?
One agent per machine or container. In Kubernetes, run it inside the application container so every pod reports its own CPU against its own limit and its own name.
What does the agent send?
CPU percent, CPU cores, CPU utilization, memory in use, memory limit, root disk usage and a start marker, all labelled with your application, environment and instance. No code, logs, files or environment variables.
What does it need?
Node.js 18 or newer on the machine or in the image. Disk usage needs 18.15 or newer. It needs an API key with metric.write.
Can I use an OpenTelemetry Collector instead?
Yes. Send hostmetrics and kubeletstats data over OTLP with an API key that has metric.write. The Infrastructure page can generate the Collector configuration for you.
How often does it report?
Every 10 seconds by default. You can set INTERVAL_SECONDS from 5 to 300.
How do I get a processes table?
Enable the OpenTelemetry Collector's process scraper. The VitalRix agent reports the whole machine or container only.
Can I alert on CPU or memory?
Yes. Use Create alert on the Pods & CPU tab for a CPU or memory rule with channels, or create a metric alert rule on infra.cpu_utilization_percent or infra.memory_mb with a service label filter.
How does it handle several pods of one app?
Alerts group by instance, so each pod is evaluated on its own. One hot pod alerts even while the others are idle.
Is there network monitoring?
No. There is no network throughput view. The views cover CPU, memory, disk, restarts and Kubernetes hierarchy.
What happens when I reach my plan's host limit?
The Pods & CPU tab shows a warning with a link to upgrade. See the pricing page for the allowance in your plan.
Does the agent slow my application?
It runs as a separate process and reads the container's counters, which is cheap. Run it with a normal priority and it does not block requests.
How do I separate production from staging?
Set ENVIRONMENT on each deployment. The host map can group by environment and alerts can filter on it.
Related reading
- Server and Kubernetes monitoring: See CPU, memory, disk and running instances for servers, Docker containers and Kubernetes pods beside uptime checks, logs and traces, with a one-file agent.
- Kubernetes pod stuck in Pending: how to fix it: Fix Kubernetes pods stuck in Pending: insufficient CPU or memory, taints, node selectors and unbound PersistentVolumeClaims, using scheduler events.
- Kubernetes monitoring: what to watch and why: A practical Kubernetes monitoring guide: cluster, node, pod and workload metrics, the alerts worth setting, tracing services and outside checks.
- Kubernetes pod stuck in Terminating: how to fix it: Fix pods stuck in Terminating: finalizers, unreachable nodes, stuck volumes and processes that ignore SIGTERM, and when force deletion is safe to use.
- Exit code 137: what it means in Docker and Kubernetes: Exit code 137 means a container received SIGKILL. Learn to tell memory limits from slow shutdowns and manual kills, with Docker and Kubernetes commands.
- Kubernetes HPA not scaling: how to fix it: Fix a Kubernetes HorizontalPodAutoscaler that will not scale: unknown metrics, missing CPU requests, metrics-server issues, tolerance and stabilization windows.
See your fleet in about five minutes
Open an application, choose Pods & CPU, create a key and run one command. Free to start, no credit card needed.