Skip to content
Weik.ioDocs
2026.2
Try Weik.io

Health and problems

Weik.io 2026.2

See the state of every part of the platform in Settings › Health, and what needs attention in the problem list. Product page · Video

Watch: Watching the whole installation, 3:10

The video watches the whole installation from Home, Observability and Health.

On this page

Weik.io monitors the integrations you run and the platform that runs them. Every 15 seconds the backend raises a problem for anything that needs attention. A problem gives its figures in a few words and the time it began, with the command that shows more. You see the same problems in each of these places:

  • Home, under Needs attention
  • The Observability Overview
  • The page of the integration or API a problem concerns
  • weikio problems

Problems the platform raises#

Weik.io raises these problems about the integrations and APIs you run:

  • An integration whose messages fail, at least 5 and 5 % of them in 15 minutes
  • An integration that keeps restarting, with how many restarts in how long and “out of memory” when that was why
  • An integration whose memory keeps growing day after day
  • An integration that has stopped handling messages for much longer than its usual gaps
  • An API failing on the server side, 5 % of its calls in 15 minutes, with the callers’ own mistakes left out
  • A file transfer whose last run counted errors, with the first error line and the command that shows the whole run
  • A deployment no agent runs, with the reason and what a platform administrator does about it

For platform administrators, Weik.io also raises these problems about itself:

  • An agent that is offline, on an older build or low on memory or disk
  • Message storage or a telemetry store filling up
  • Telemetry that Weik.io lost
  • A hub server cut off from the others
  • A certificate near its expiry
  • No backup in twice the backup interval, or a backup copy that failed
  • Two-factor sign-in turned off for administrators

Each problem has a page in the docs, such as A backup is overdue, with the threshold that raises it and the commands that fix it. The Problems reference lists them all.

The backend writes a log line at each change of a problem’s state. It also counts problems in the metrics weikio.problem.raised and weikio.problem.active. Every problem Home shows is therefore in the log and metric stores, and Telemetry forwarding sends it on to your monitoring.

List the problems#

Terminal
$ weikio problems --env production

Each row of the list has these values:

  • The severity
  • The kind
  • The environment and project
  • What the problem is about
  • Since when
  • FIGURE, the numbers in a few words, such as 42 of 310 failed in 15 min or 6 restarts in 40 min, out of memory
  • The problem’s title

On a terminal, the detail follows under each row. It has the problem’s sentence and, after Read it with:, the command that shows what the row is about, such as weikio status finance/erp-invoice-export --env production. When the output goes into a pipe or a file, the detail is the last column, so a script gets one row per line. When there are no problems, weikio problems prints nothing on standard output and No problems found. on standard error.

The API gives the same commands in each problem’s commands member. Settings › Health shows each command in a command block.

The Health page#

Settings › Operations › Health is for platform administrators. It shows the state and version of each of these parts, with its figures and what to do:

  • Each backend node
  • Each APIM instance
  • The message servers
  • The telemetry stores
  • The forwarder
  • Every agent

Platform logs has the lines that the platform writes about itself.

/settings/health
The Health page with all 10 parts online and no platform problemsThe Health page with all 10 parts online and no platform problemsThe table of parts on the Health page, with the backend, the APIM instance and the message server onlineThe table of parts on the Health page, with the backend, the APIM instance and the message server online
Health shows the state of each part of the platform and the problems a platform admin has to act on.

A part shows To watch or an error at these levels:

Part To watch Error
A store or a disk From 85 % of its budget, or below a fifth free From 95 %, or below a tenth free
An agent’s server More than 90 % of its memory in use More than 95 % of its memory in use

A store that deletes its oldest records once it’s full, such as an environment’s events or the log store at its cap, is never an error.

Health from the CLI#

weikio platform health asks the backend whether it’s alive and ready, and exits with code 6 when the hub isn’t ready or a part is offline:

Terminal
$ weikio platform health
You see
Server:     https://hub.example
Liveness:   ok
Readiness:  ok
Issuer:     https://hub.example

With a platform administrator’s key, the command also lists every part as the Health page does, followed by the storage lines. Each part’s line has its status and version, then its uptime and resource use. --watch redraws the view every 30 seconds and shows the platform’s latest warnings and errors under it.

weikio platform metrics hub shows the figures of message storage over the last hour, and weikio platform logs backend shows the backend’s log lines.

Watch the hub from outside#

A hub that stops responding can’t raise a problem about it. Run a check from a place that shares neither the hub’s network nor its hosting, such as a monitoring service or a server of your own. Set up the check with these settings:

  • The check requests GET https://acme.example/readyz/node on the backend’s name.
  • The check runs once a minute with a timeout of 10 seconds and alerts after two failed checks in a row.
  • The check verifies the certificate, so it also fails on a certificate that has expired or that the weikio CLI and the agents would refuse.

With these settings, one lost request alerts nobody.

The endpoint needs no sign-in and answers callers from any address, whatever the hub’s allowed networks are. The hub replies 200 with the text ready while all of these parts are ready:

  • The backend
  • The gateway
  • The message server’s listener for agent links

Otherwise it returns 503 with one sentence for each part that isn’t ready.

Turn the check on once the backend’s name has its first certificate. While you upgrade a hub on one server, pause the check, because the API is unavailable for the seconds that the upgrade’s last line gives.

When the check fails, the reply’s sentences tell you which part isn’t ready. Then run docker compose ps -a to see which service is down and docker compose run --rm infra weikio-backend doctor to check the rest.

On a hub of several servers, the check goes through the load balancer. A server cut off from the others still passes the check, so also watch the problem list.

Prometheus metrics#

Each process of the platform also serves its metrics in Prometheus format on its internal listener, for your own monitoring. The backend serves them at http://<backend>:8080/metrics inside the hub’s network, and the agent at http://127.0.0.1:6006/metrics inside the agent’s container. The hub’s public names answer /metrics with 404.

Sign in to the live demo

Sign in with the shared viewer account, which can open every screen of the example projects and can't change anything.

E-mail
viewer@demo.weik.io
Password
try-weikio-live-demo
Open the live demo