Observability
The verifier serves Prometheus metrics on its monitoring API. A reference
scrape configuration, dashboard and alert rules are under
deploy/observability, and make observability-lint checks them
with promtool and jq. Each alert has a runbook below; the rules link
to it.
Scraping
GET /metrics is a reader route of the monitoring API, open once the
verifier runs with --http-addr (Monitoring API). On a
loopback address it is plain HTTP; elsewhere it is HTTPS and needs a key,
which the scraper sends as a bearer token. A key scoped to tenants is
refused: the metrics hold no tenant.
deploy/observability/prometheus.yml scrapes a remote verifier over
HTTPS with a reader key from credentials_file and the CA in
tls_config, every 30 seconds, and loads the alert rules. A commented job
scrapes a verifier on the same host over HTTP. On Kubernetes the Helm chart
opens the API with httpApi.enabled (Verifier Helm chart).
Metrics
The counters count from the instance's start, and each instance has its own.
The gauges are read when /metrics is scraped.
Metric |
Type |
Value |
|---|---|---|
|
counter |
Reports checked. A report refused for its magic or size before it is
read is not one ( |
|
counter |
Reports answered |
|
counter |
Reports answered with any other verdict. |
|
counter |
Refusals by verdict name ("Verdicts" in Verifier),
and |
|
counter |
Baseline moves by outcome (Re-anchor outcomes). |
|
counter |
Attestation connections that failed outside a verdict: an accept
error, a connection past |
|
counter |
Decision-log rounds shed from a full buffer (Store). |
|
counter |
Decision-log rounds lost to a failed write. |
|
counter |
The refusals among the two above. |
|
histogram |
Time to check a report, buckets from 1 ms to 10 s. |
|
gauge |
Challenges this instance sent and has not seen answered. A challenge lapses after five minutes. |
|
gauge |
Clients with a baseline in the store. |
|
gauge |
Revoked client IDs. |
|
gauge |
Banned device pseudonyms, every tenant. |
|
gauge |
Rows of the used-nonce history. |
|
gauge |
Policies loaded. |
|
gauge |
Seconds since the instance started. |
On a shared store the gauges lota_registered_clients,
lota_active_revocations, lota_active_bans and lota_used_nonces
read the whole store, so every instance reports the same value. Sum the
counters and lota_pending_challenges across instances, and take any one
of those four.
Each reason and each outcome is exported at 0 before it first counts,
so an alert on one has a series to match from the first scrape.
Baseline errors
baseline_error counts a round the baseline store failed, answered
internal_error. A first-use boot baseline refused for having no
enrollment road counts under policy_requirement
(Verifier).
Re-anchor outcomes
strong,lfaPCR 0, 1 and 7 re-pinned on the strong or the low-firmware-assurance path. An
lfaclient joins the review list.boot_entriesPCR 1 re-pinned after a boot-entry change.
mokPCR 14 re-pinned after a Machine Owner Key change.
agent_hashThe agent pin moved to a listed build.
forcedAn operator forced a re-anchor through the API, counted at the call.
escalate,agent_hash_escalateA boot or agent move refused; the round is
integrity_mismatch.
The paths are in "Re-anchor" of Verifier.
Dashboard
deploy/observability/grafana/lota-verifier-dashboard.json imports into Grafana with a Prometheus data source picked at import. Its stat panels show the success ratio over 5 minutes, the clients, revocations, bans, pending challenges and uptime; its time series show the attestation rate, the rejections by reason, the latency at the 50th, 95th and 99th percentile, the re-anchor outcomes, the connection errors and the used-nonce history.
Alerts
deploy/observability/alerts/lota-verifier-alerts.yaml holds 12
rules in three groups. critical asks for action at once: the verifier
gives no verdicts, or a host failed an integrity check. warning asks for
triage.
Alert |
Severity |
Condition |
|---|---|---|
critical |
|
|
warning |
No report in 15 minutes, with clients, for 15 minutes. |
|
critical |
A |
|
warning |
A |
|
warning |
Over 3 |
|
warning |
An |
|
critical |
A |
|
warning |
Over 10% failed over 10 minutes, for 10 minutes. |
|
warning |
99th percentile over 1 s, for 10 minutes. |
|
warning |
Over 1000 pending, for 5 minutes. |
|
warning |
Over 1 error per second, for 5 minutes. |
|
warning |
A dropped or failed round in 10 minutes, for 5 minutes. |
The runbooks read the monitoring API on 127.0.0.1:8080; with keys
configured, add -H "Authorization: Bearer $KEY", a reader key to read
and an admin key to act.
LotaVerifierDown
Prometheus cannot scrape the verifier, and no verdict is given there.
systemctl status lota-verifierandjournalctl -u lota-verifier, or the pod log. A start that fails logs its reason at error level ("Startup refusals" in Command line).With the process up, check the scrape path: the address, the firewall, the key in
credentials_file.
LotaAttestationStall
Clients are on record and no report came for 30 minutes: the agents are down, or the attestation port is unreachable.
Open a TLS connection to the attestation port from the hosts' network:
openssl s_client -connect verifier.example:8443 </dev/nullprints the certificate.On one host,
systemctl status lota-attest.service.GET /api/v1/attestations?limit=10dates the last rounds.
LotaIntegrityLoss
A host's quoted PCRs, event log, PCR 14 derivation, agent hash or pinned baseline did not match.
GET /api/v1/attestations?events=true&limit=50names the client and the cause indetails. A PCR refusal names each PCR that differs, with both values.GET /api/v1/clients/{id}shows the baseline and the machine keys.Match the change against a known one: a firmware or boot chain update, an agent update off the policy's
agent_hashes, a changed kernel command line. Several PCRs at once point at a different boot chain.A known change: let the host re-pin ("Re-anchor" in Verifier), or force a re-anchor (
POST /api/v1/clients/{id}/reanchor). An unknown change: revoke the client ID or ban the pseudonym, and keep the host for inspection.
A host that misses a require_* key is refused under that key's verdict,
not here.
LotaRevokedDeviceActivity
A revoked or banned host keeps attesting. The agent retries on its interval, so a short run after a revocation is expected.
GET /api/v1/revocations,GET /api/v1/bansandGET /api/v1/auditshow who listed the host and why.A host meant to come back needs a new client ID; its old one stays revoked. A ban covers every certificate with the pseudonym.
LotaReplayBurst
More than three nonce_fail in 5 minutes: a nonce unknown, used, expired,
answered on another connection or missing from the quote, or a client over
30 rounds a minute.
GET /api/v1/attestations?result=nonce_failshows whether one client or many fail. One client: its rate, its link, the time a round takes.Many clients: the store, through
lota_verification_duration_secondsand the database.
LotaReanchorEscalation
A boot baseline move was refused and the host fails with
integrity_mismatch until an operator acts. The rule watches
escalate; agent_hash_escalate counts an agent move refused for the
per-client interval or for a baseline with no pinned hash, or lost to a
concurrent round.
The verifier log has the refusal at security level, with the client ID and the reason.
Many hosts with the same change point at a rollout; one host with its own change belongs to LotaIntegrityLoss.
For a known change,
POST /api/v1/clients/{id}/reanchor. Otherwise revoke or ban.
LotaBaselineStoreErrors
baseline_error counted: the baseline store failed (Baseline errors).
Check the database: the connection, the disk, whether it takes writes. The verifier log names the failed operation. Refused hosts pass on their next round once the store answers.
LotaAttestationFailureRatioHigh
More than one report in ten fails, for 10 minutes. One host does not move this ratio.
The Rejections by reason panel names the verdict that dominates.
sig_failorcertificate_validitypoint at the attestation CA,pcr_failat the policy pins,integrity_mismatchafter an agent update atagent_hashes, a*_requiredverdict at a requirement the hosts miss,internal_errorat the store.Match the onset with the last policy or infrastructure change.
LotaVerifyLatencyP99High
One check in a hundred takes over a second, for 10 minutes. The verifier reads a report in 30 seconds and writes the result in 10.
Check the database latency and the verifier's CPU.
With load grown with the fleet, add instances (Verifier topologies, Sizing).
LotaPendingChallengesHigh
Over 1000 challenges unanswered: hosts drop the connection after the challenge, or a source opens connections and sends nothing.
Compare with
lota_registered_clients. Near the fleet size points at the network; far above it at a flood.Challenges lapse after five minutes. A gauge that keeps climbing needs the sources from the verifier log filtered upstream, or a lower
--max-connections.
LotaConnectionErrorBurst
Over one failed connection a second: a scanner, a load balancer probing the
port with plain HTTP, connections past --max-connections, or a frame
the verifier does not read.
The verifier log names the source and the failure:
TLS handshake failed,invalid report magic,invalid report size,connection limit reached, rejecting.An onset with a rollout points at mismatched versions (Protocol versions).
LotaDecisionLogLoss
Decision-log rounds were lost. Verdicts are unaffected, and the rounds lost are not recoverable (Store).
lota_attestation_log_dropped_totalmoves when the buffer is full,lota_attestation_log_failed_totalwhen a write fails, andlota_attestation_log_events_lost_totalwhen refusals are among them. The log saysattestation-log buffer full; decision records shedorattestation-log flush failed; records dropped.Check the database latency, its connections, and locks on
attestation_log.Note the window: for it,
GET /api/v1/attestationsmisses rounds androundscan count low.
Reading the decision log
GET /api/v1/attestations selects rows by window, verdict and client
(Monitoring API):
# every refusal in one day
curl -H "Authorization: Bearer $KEY" \
"http://127.0.0.1:8080/api/v1/attestations?events=true&since=2026-01-01T00:00:00Z&until=2026-01-02T00:00:00Z"
# one client
curl -H "Authorization: Bearer $KEY" \
"http://127.0.0.1:8080/api/v1/attestations?client_id=$CLIENT_ID&limit=50"
# one verdict
curl -H "Authorization: Bearer $KEY" \
"http://127.0.0.1:8080/api/v1/attestations?result=pcr_fail"
A row covers a run of passing rounds, up to --attestation-log-window; the
time of each round in it is not kept.
Integrity drill
The drill checks the chain from a refusal to a page, on a staging verifier:
Change one hex digit of the host's build in the policy's
agent_hashesand restart the verifier.Let one host attest. It is refused with
integrity_mismatch, andlota_rejections_total{reason="integrity_mismatch"}steps.Within a scrape and an evaluation interval, the Rejections by reason panel shows the step and LotaIntegrityLoss fires.
Check the page arrives, restore the policy, restart, and see the host's next round pass.
The drill reads as a real refusal, so it runs under a change record.