Prometheus checks
The checks Verbiqo runs on Prometheus and Thanos, grouped by area. You ask in plain words. Verbiqo runs its own checks first, within the limit of 24 queries for one question, then the model adds the measurements the question needs from the map of what your server collects. Every figure, time and state in the answer is stated by Verbiqo from what it measured, and nothing is judged against a threshold the model chose.
Name a service, job, technology or host in every question. These checks run on what the question names, never on every job of the server. How to get good answers.
How to read this page. Each section is one area, with what Verbiqo checks, from which metrics, and what it cannot show. When a check finds something it appears in the answer with its time and host. The shape of the answer: How to read the answer.
Which checks run for which question
| Question | Checks that run first |
|---|---|
| An investigation, such as any issues with mysql yesterday | Availability, restarts, the host checks on every host in scope, and the floor of checks. Then the model’s own choices. |
| A status question about being down or up, such as find any down mysql | Availability alone. The answer says when it could not be read, and does not guess. |
| One measurement, such as check cpu load | Availability, and only the host checks the question names (memory, disk, network, cpu, oom). The question is held to what it asked. |
Availability
Why it helps: Whether each target was reachable is the first fact every other figure is read against, and it says which hosts the figures cover.
Ask find any down mysql, was orders-db down in the last 24 hours?
| Check | From | What it looks for |
|---|---|---|
| Down targets | up and every <name>_up the exporters of the scope publish (mysql_up, pg_up), at most 6 | The lowest stored sample in the window, per target: when each target was down and whether it came back. |
| Technology only | The metrics of the technology you named | In a set matched by a word, only the jobs that expose that technology’s own metrics. The answer says how many other jobs in the scope were left out. |
| Why a read came back empty | Ten checks in code | Told apart before anything is said: not monitored, target down, no samples in the window, wrong job label, label mismatch, rate window too short. An empty result is never reported as healthy. |
Without a standard up or _up series, availability cannot be read and the answer says so.
Restarts and counter resets
Ask when did orders-db last restart?, did mysql restart in the last 24 hours?
Why it helps: A restart inside the window is the first thing a why was it down needs. Code reads it, not a model’s guess.
| Check | From | What it looks for |
|---|---|---|
| Process start | Up to 4 clock metrics on the scope’s jobs and the exporters beside them: a start time (process_start_time_seconds, node_boot_time_seconds) or an uptime | When each process last started, and whether that fell in the window. Needs a time range. |
| Counter reset | Any counter in the measurements | A counter that falls to near zero, said as a process restart or a counter reset, because the data cannot tell the two apart. |
| After a start | The findings on that host | Events on the host in the 30 minutes after its start are grouped under the restart (caches and counters refill after a start). A host’s last start up to 7 days before the window is still said. |
Host checks
Why it helps: Rules the machine in or out. Each check runs on every host in scope, the same way every time, and reports its peak and when it moved, with no threshold.
Ask any issues with mysql yesterday, check memory and disk on orders-db, how was CPU on mysql over the last six hours?
For hosts that export node_* (node_exporter) or windows_* (windows_exporter) metrics. A check whose metrics are not exported is not run, and the answer says that host resources could not be read there rather than that they were fine.
| Check | From | What it shows |
|---|---|---|
| CPU busy | node_cpu_seconds_total, windows_cpu_time_total | The busy share per host, as a rate. |
| Load per CPU core | node_load1 against the core count | The peak 1-minute load per core. |
| Memory used | Total against available memory | The peak share used. |
| Disk space used | Filesystem size against available | The peak share used. |
| Disk busy | node_disk_io_time_seconds_total | The busiest disk of each host, as a share of time. |
| Network drops and errors | node_network_receive_drop_total, node_network_receive_errs_total | Receive drops and errors per second, summed per host. |
| OOM kills | node_vmstat_oom_kill | The increase over the window. |
Windows hosts have CPU, memory and disk space checks only. A host check cannot show what a process inside the machine did.
The floor: busy now, and should be zero
Ask any issues with mysql in the last 6 hours? (investigations only)
Why it helps: The model’s choice of measurements varies from run to run. The floor adds two kinds of signal whichever it chose, so threads running or active connections are not skipped one time and read the next.
For investigations only, never for a question about one measurement. Chosen by the words metric names use, never by product, from the metrics the question’s jobs expose. The question’s own technology comes first.
| Kind | Metric names that carry |
|---|---|
| Busy right now | running, active, inflight, waiting, pending, queued |
| Should be zero | errors, failed, failures, deadlocks, aborted, dropped, rejected, timeouts, under_replicated, unavailable, blocked |
At most 4 reads are added, split between the two kinds, on top of the 24, so nothing the model chose is pushed out. Histogram parts, info series, up and the exporter’s own runtime (go_, process_) are not counted. What matched and was not read is said in the activity.
Limits and how near they are
Ask an investigation, such as any issues with mysql yesterday: this check runs inside it, not as a question of its own.
| Check | What it does |
|---|---|
| Against its limit | A usage the exporter publishes a limit for (threads_connected against max_connections) is read against it, matched on a shared word. A highest value seen is never taken as a limit. |
| At a limit | A share at 90% or more, or a load of 1 or more per core, is a limit anomaly, with how many times and between which times. One that was already above 90% of its limit for the whole time asked about is said as held above 90% of its limit all window, with its usual and highest values, not as having reached it. A value that only records the highest level seen, such as max used connections, and never falls in the time asked about, is not a limit. |
| Peak or trough | A gauge is read by its peak, or by its trough when it measures what is left (free, available). A counter is read as a rate per instance. |
Against a week earlier
Ask an investigation, such as any issues with mysql yesterday: this check runs inside it, not as a question of its own.
Why it helps: A level that was high all window looks normal against the hour before. The same measurement a week earlier shows it.
Up to 14 of the measurements read are repeated a week earlier, one figure per series, while the query limit still has room. It is said only when the level is 3 times its level then, a third of it or less, or where it was 0 and is not. A refused comparison is said.
Anomalies by moment and host
Ask what changed on orders-db yesterday?, any issues with mysql yesterday
Every measured change that matters, from the behaviour of the series only. The rule, and how the list is laid out, are on Ask Prometheus. Related events are put into episodes by time, and nothing is cut: events that stand out and the smaller events are all listed in the details, each with its host and time. For the largest spikes in per-host totals (up to 3), Verbiqo reads what was behind the peak at that moment.
Scrape intervals
Read for every question that measures, not asked on its own: how often is mysql scraped? is not answered from it.
The rate window of a job scraped every 2 to 5 minutes would come back empty or understated. Verbiqo reads each job’s real scrape interval when the map is built or refreshed, from the targets API or, failing that, the spacing of its samples over 10 minutes, and keeps it for 30 days. A slower job is read over four scrapes. The window only ever grows: a job scraped every 60 seconds or faster is read as before.
What the query limit cut
One question may run at most 24 queries, plus the floor’s 4. Availability, restarts, the host checks and the floor come first, so the limit cuts the model’s own additions first. What was cut, and what the server refused, is named under Not read. Availability metrics beyond the first 6 are counted and said.
What these checks cannot show
- Anything the server does not collect: a measurement with no series is not read, and the answer says it was not measured, never that it was fine.
- Why. The checks find what changed and when. The likely cause is the model’s, marked as such, and Verbiqo notes any sentence its measurements do not support.
- A host or service nobody scrapes. It is reported as not monitored, apart from a target that is scraped and down.
Attach and ask: Ask Prometheus. The connection: Set up Prometheus.