Directories
ΒΆ
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
backlog-sync
command
Command backlog-sync keeps GitHub issues in sync with BACKLOG.md.
|
Command backlog-sync keeps GitHub issues in sync with BACKLOG.md. |
|
checkfleet
command
checkfleet: a fleet of infrastructure checks with one binary.
|
checkfleet: a fleet of infrastructure checks with one binary. |
|
internal
|
|
|
backlog
Package backlog parses BACKLOG.md into structured items so tooling can keep GitHub issues in sync with it.
|
Package backlog parses BACKLOG.md into structured items so tooling can keep GitHub issues in sync with it. |
|
checks/certs
Package certs implements the TLS certificate expiry check: it connects to every target, reads the leaf certificate and reports how many days are left.
|
Package certs implements the TLS certificate expiry check: it connects to every target, reads the leaf certificate and reports how many days are left. |
|
checks/consul
Package consul implements a health check for a Consul cluster via its HTTP API: a raft leader is elected, the raft peer count meets expectations, service/node health checks are not critical/warning, and required KV keys exist.
|
Package consul implements a health check for a Consul cluster via its HTTP API: a raft leader is elected, the raft peer count meets expectations, service/node health checks are not critical/warning, and required KV keys exist. |
|
checks/dns
Package dns implements a DNS resolution health check using a minimal in-tree DNS client (no third-party dependency).
|
Package dns implements a DNS resolution health check using a minimal in-tree DNS client (no third-party dependency). |
|
checks/haproxy
Package haproxy implements a backend/server health check for HAProxy, reading the CSV stats export over HTTP (the `;csv` stats endpoint).
|
Package haproxy implements a backend/server health check for HAProxy, reading the CSV stats export over HTTP (the `;csv` stats endpoint). |
|
checks/httpcheck
Package httpcheck implements the HTTP probe: status code, latency and an optional body substring, per target.
|
Package httpcheck implements the HTTP probe: status code, latency and an optional body substring, per target. |
|
checks/keycloak
Package keycloak implements a health check for Keycloak: the health endpoint reports UP, and each configured realm serves a valid OIDC discovery document with a coherent issuer and a token endpoint.
|
Package keycloak implements a health check for Keycloak: the health endpoint reports UP, and each configured realm serves a valid OIDC discovery document with a coherent issuer and a token endpoint. |
|
checks/nats
Package nats implements a preflight/health check for a NATS JetStream cluster, reading the HTTP monitoring endpoints (/varz and /jsz?meta=1) of each node.
|
Package nats implements a preflight/health check for a NATS JetStream cluster, reading the HTTP monitoring endpoints (/varz and /jsz?meta=1) of each node. |
|
checks/patroni
Package patroni implements a health check for a Patroni-managed PostgreSQL cluster, reading the Patroni REST API (/cluster).
|
Package patroni implements a health check for a Patroni-managed PostgreSQL cluster, reading the Patroni REST API (/cluster). |
|
checks/postgres
Package postgres implements a read-only health check for PostgreSQL: it connects to each target and evaluates transaction-id wraparound risk, connection saturation, inactive replication slots retaining WAL, and β on a primary β replica lag.
|
Package postgres implements a read-only health check for PostgreSQL: it connects to each target and evaluates transaction-id wraparound risk, connection saturation, inactive replication slots retaining WAL, and β on a primary β replica lag. |
|
checks/redis
Package redis implements a health check for Redis / Valkey using a minimal in-tree RESP client (no third-party dependency).
|
Package redis implements a health check for Redis / Valkey using a minimal in-tree RESP client (no third-party dependency). |
|
checks/stream
Package stream implements a health check for HLS and DASH streams from their manifests: the manifest is reachable and parseable, the bitrate ladder has the expected number of renditions, and β for live streams β the live edge is fresh (not stalled).
|
Package stream implements a health check for HLS and DASH streams from their manifests: the manifest is reachable and parseable, the bitrate ladder has the expected number of renditions, and β for live streams β the live edge is fresh (not stalled). |
|
checks/tcp
Package tcp implements a generic TCP reachability check: it connects to each target (optionally over TLS), measures the connect latency, and optionally checks the server banner.
|
Package tcp implements a generic TCP reachability check: it connects to each target (optionally over TLS), measures the connect latency, and optionally checks the server banner. |
|
checks/tlscheck
Package tlscheck implements a deep TLS check that complements certs (which only reads leaf expiry): it validates the presented chain against the trust store, reports certificate expiry, and flags weak negotiated protocol versions.
|
Package tlscheck implements a deep TLS check that complements certs (which only reads leaf expiry): it validates the presented chain against the trust store, reports certificate expiry, and flags weak negotiated protocol versions. |
|
engine
Package engine defines the check contract and the runner.
|
Package engine defines the check contract and the runner. |
|
history
Package history persists a compact snapshot of each run to a JSONL file (one record per line, zero dependencies) and derives flapping/persistence signals from the recent records.
|
Package history persists a compact snapshot of each run to a JSONL file (one record per line, zero dependencies) and derives flapping/persistence signals from the recent records. |
|
inventory
Package inventory parses Ansible INI inventories just enough to extract hosts and their ansible_host addresses, so checks can target a whole fleet from the same source of truth used by the playbooks.
|
Package inventory parses Ansible INI inventories just enough to extract hosts and their ansible_host addresses, so checks can target a whole fleet from the same source of truth used by the playbooks. |
|
issuesync
Package issuesync reconciles a run's findings with a tracker's issues: it opens an issue for each BAD/ERROR finding (deduped by check+target) and closes the ones whose finding has recovered.
|
Package issuesync reconciles a run's findings with a tracker's issues: it opens an issue for each BAD/ERROR finding (deduped by check+target) and closes the ones whose finding has recovered. |
|
output
Package output renders a run's Result as terminal text, markdown (in the ops-report style: problems first, full table after) or JSON.
|
Package output renders a run's Result as terminal text, markdown (in the ops-report style: problems first, full table after) or JSON. |
Click to show internal directories.
Click to hide internal directories.