Skip to content

VitalRix use case

CPU and memory next to everything else

Run one small agent beside your application and see instances, CPU and memory on the same page as its checks, logs and traces. When a service slows down, you see whether the machine under it is the reason.

5 min read7 sectionsUpdated

On this page

At a glance

  • For: teams that run their own servers, VMs, Docker hosts or Kubernetes clusters and want to answer "is it the machine?" without opening a second tool.
  • How it works: a single file, the infrastructure agent, runs next to your application and reports every 10 seconds. It needs Node.js 18 or newer on the machine or in the image.
  • What you get: a host map, a Kubernetes view, per-instance CPU and memory, alerts on sustained high usage, and links from a host to its logs and traces.
  • What it does not do: it does not read your code, files or environment variables, and it is not a full host-agent suite. Process-level detail needs an OpenTelemetry Collector (see below).

The problem it solves

When a page gets slow, an outside check and a trace show that it is slow and which call is slow. They do not show why a healthy query suddenly takes four times longer. Often the answer is below the application:

  • the container hit its CPU limit and is being throttled,
  • memory grew until the process started swapping or was killed and restarted,
  • one pod of six is crash-looping and the other five are carrying its traffic,
  • autoscaling did not add instances when the queue grew.

Without infrastructure data you guess, or you log into a box and run top.

What changes with it

  • You open an incident and the machine's CPU and memory for the same window are one click away.
  • You see how many copies of the application are running right now, and the number follows autoscaling.
  • A crash loop is highlighted with its restart count and last error line, instead of hiding in a pod list.
  • You can alert on sustained CPU or memory before the service starts failing, not after.
  • The same application page shows uptime, traces, logs and infrastructure, so ownership is clear.

The four views

  • Host map

    Every reporting host as a coloured box, sized and coloured by CPU, memory or disk. Group by application, environment, cluster or availability zone. Hover for numbers, click for the host page. A host that stopped reporting is shown greyed out.

  • Pods and CPU

    How many copies of your application report right now: servers, containers or pods. Shows CPU cores in use, memory and a per-instance breakdown, measured against each container's own CPU limit.

  • Kubernetes hierarchy

    Cluster, namespace, workload and pod, with CPU and memory used against limits, desired versus running counts and restarts. Crash-looping pods are highlighted with their restart count and the last error log line.

  • Host detail

    CPU, memory and disk over time, the host's Kubernetes place, and direct links to that host's logs and traces. Add an OpenTelemetry Collector process scraper to see the top processes by CPU or memory.

The service catalog: each service with environment, health, request rate and p95 latency. Infrastructure sits on the same application.

Pick how to run the agent

Comparison
FeatureServer or VMDockerKubernetes
How it runsDownload the file, run it with Node.jsAdd one line to the Dockerfile to start it beside the appStart it inside the application container on every pod
What reportsThe whole machineThe container, against its CPU limitEach pod, against its own limit
Keep it alive withsystemd, pm2 or nohupThe container processThe pod itself
SecretsEnvironment variableEnvironment variableA Kubernetes secret
Watch out forRun one agent per machineNo Node.js in the image means run it on the hostA sidecar container only measures itself

Use a key with only the write metrics permission. If it leaks, it can do nothing else. The agent keeps retrying quietly if VitalRix cannot be reached and never stops or slows your application.

Frequently asked questions

What does the agent send?

A handful of numbers every 10 seconds: CPU, memory and, where supported, root disk use, labelled with your application, environment and instance name. It sends no code, logs, files or environment variables.

Do I need Kubernetes experience?

No. Create the secret, start the agent inside your application container and the Kubernetes view builds the cluster, namespace and workload hierarchy from the pod details.

Does it work without Node.js?

The agent needs Node.js 18 or newer in the image or on the host. If your image has none, run the agent on the host instead, or use an OpenTelemetry Collector.

How often does it report?

Every 10 seconds by default. You can set 5 to 300 seconds with the interval variable.

Can I alert when CPU is high?

Yes. Use Create alert on the Pods and CPU tab, or a metric threshold rule on the CPU or memory metric with labels for your application. Use a window of at least 5 minutes.

Can I monitor databases and web servers?

There are ready-made Postgres, Redis and Nginx monitors for availability and basic health, and TCP and ping checks for anything else. They complement the agent; they do not replace it.

Does it support multiple clusters?

Yes. Use a different app name and environment per cluster, and a cluster tag to group and filter across them.

What if VitalRix is unreachable from my network?

The agent keeps retrying quietly and never stops or slows your application.

Is there per-process data?

Only through an OpenTelemetry Collector with the process scraper enabled. Nothing in VitalRix collects it by itself.

Will the agent affect performance?

It is a small Node.js process that reads a few counters every 10 seconds. Starting it inside the application container shares that container's memory and CPU limits, so allow a small margin.

See your servers next to your services

Create a free account, create a key from the Pods and CPU tab and run one command. The first numbers arrive in about 15 seconds.