Directories
¶
| Path | Synopsis |
|---|---|
|
Package agentconnectivity is the Agent-liveness detector (AGENT-002): it confirms a fault when an agent stays offline past a configurable grace period and resolves it after the agent reconnects for a confirmation period.
|
Package agentconnectivity is the Agent-liveness detector (AGENT-002): it confirms a fault when an agent stays offline past a configurable grace period and resolves it after the agent reconnects for a confirmation period. |
|
Package agentstatus is the read-time aggregation behind the Agent status list (AGENT-001).
|
Package agentstatus is the read-time aggregation behind the Agent status list (AGENT-001). |
|
Package agentws is the server side of the persistent agent WebSocket channel that replaced the HTTP POST telemetry endpoint.
|
Package agentws is the server side of the persistent agent WebSocket channel that replaced the HTTP POST telemetry endpoint. |
|
Agent status list HTTP handler (AGENT-001).
|
Agent status list HTTP handler (AGENT-001). |
|
Package asnlookup maps an IPv4 address to the autonomous system that announces it, from an offline table loaded into memory.
|
Package asnlookup maps an IPv4 address to the autonomous system that announces it, from an offline table loaded into memory. |
|
Package audit records security-relevant actions (login, enroll, config changes).
|
Package audit records security-relevant actions (login, enroll, config changes). |
|
Package baseline learns what "normal" looks like for each monitored target (ALERT-003), so the fault engine can call a target degraded relative to its own history instead of against a number somebody had to guess.
|
Package baseline learns what "normal" looks like for each monitored target (ALERT-003), so the fault engine can call a target degraded relative to its own history instead of against a number somebody had to guess. |
|
Package cleanup runs history-data deletion as durable, restart-safe jobs.
|
Package cleanup runs history-data deletion as durable, restart-safe jobs. |
|
Package config manages monitor groups and their monitoring targets (probe_tasks) and builds the DesiredState the server pushes down to agents.
|
Package config manages monitor groups and their monitoring targets (probe_tasks) and builds the DesiredState the server pushes down to agents. |
|
Package eventbus is a tiny in-process pub/sub used to decouple server-core modules (architecture §6/§15.4).
|
Package eventbus is a tiny in-process pub/sub used to decouple server-core modules (architecture §6/§15.4). |
|
Package fault is the built-in fault-detection domain (ALERT-002).
|
Package fault is the built-in fault-detection domain (ALERT-002). |
|
Package gamedata stores and serves game presentation data: runs (one continuous stretch of a game presenting frames), the per-second buckets hanging from them, the stretches in which they produced no frames, and the machine-level seconds that run underneath all of it.
|
Package gamedata stores and serves game presentation data: runs (one continuous stretch of a game presenting frames), the per-second buckets hanging from them, the stretches in which they produced no frames, and the machine-level seconds that run underneath all of it. |
|
Package hostlive holds the ephemeral, pull-on-demand host snapshots (live process and network-connection lists) that agents return in response to a console user opening the live page.
|
Package hostlive holds the ephemeral, pull-on-demand host snapshots (live process and network-connection lists) that agents return in response to a console user opening the live page. |
|
Package identity handles the single admin user: bootstrap, password auth (bcrypt) and server-side sessions (HttpOnly cookie).
|
Package identity handles the single admin user: bootstrap, password auth (bcrypt) and server-side sessions (HttpOnly cookie). |
|
Package incident is the group-aware read model over the incident tables.
|
Package incident is the group-aware read model over the incident tables. |
|
Package incidentops is the server-side custody of an incident's evidence: the immutable server-authored snapshot base (INCIDENT-002), the scenes agents collect on their own fault edges (INCIDENT-005), and the traceroutes they run on their own initiative (DIAG-001).
|
Package incidentops is the server-side custody of an incident's evidence: the immutable server-authored snapshot base (INCIDENT-002), the scenes agents collect on their own fault edges (INCIDENT-005), and the traceroutes they run on their own initiative (DIAG-001). |
|
Package ingest receives, validates, dedups and persists telemetry packets — the heart of the ingest loop (architecture §3.3 / §5.1).
|
Package ingest receives, validates, dedups and persists telemetry packets — the heart of the ingest loop (architecture §3.3 / §5.1). |
|
Package inventory reads discovered devices/interfaces (written by ingest from agent inventory deltas and interface snapshots).
|
Package inventory reads discovered devices/interfaces (written by ingest from agent inventory deltas and interface snapshots). |
|
Package metrics is the time-series layer: the SQLite series dictionary, the in-memory latest-value cache, the query planner, and the rollup/purge bookkeeping — while the sample data itself lives in the tsstore data plane (embedded Prometheus TSDB instances; see package tsstore for why SQLite stopped holding it: per-series B-tree tail pages made every 30s packet commit rewrite ~2.6KB per stored float).
|
Package metrics is the time-series layer: the SQLite series dictionary, the in-memory latest-value cache, the query planner, and the rollup/purge bookkeeping — while the sample data itself lives in the tsstore data plane (embedded Prometheus TSDB instances; see package tsstore for why SQLite stopped holding it: per-series B-tree tail pages made every 30s packet commit rewrite ~2.6KB per stored float). |
|
Package notification delivers incident events to configured channels (webhook + SMTP + native OS desktop notification + the push platforms behind the Provider registry).
|
Package notification delivers incident events to configured channels (webhook + SMTP + native OS desktop notification + the push platforms behind the Provider registry). |
|
Package notifypolicy decides whether, when and where a recorded fault is announced.
|
Package notifypolicy decides whether, when and where a recorded fault is announced. |
|
Package opissue is the operational-issue engine for the agent local-permission policy.
|
Package opissue is the operational-issue engine for the agent local-permission policy. |
|
Package registry tracks agents: identity, local permission policy, status and last-seen.
|
Package registry tracks agents: identity, local permission policy, status and last-seen. |
|
Package routehist records the route history of periodic traceroute monitors (probe kind "trace") and detects route changes in it.
|
Package routehist records the route history of periodic traceroute monitors (probe kind "trace") and detects route changes in it. |
|
Package settings is a tiny key/value store for global, UI-editable server settings backed by the app_settings table.
|
Package settings is a tiny key/value store for global, UI-editable server settings backed by the app_settings table. |
|
Package site manages Sites — a home or office location that groups multiple agents (architecture §2.2).
|
Package site manages Sites — a home or office location that groups multiple agents (architecture §2.2). |
|
Package sse is a minimal Server-Sent Events fan-out used to push live updates to connected consoles.
|
Package sse is a minimal Server-Sent Events fan-out used to push live updates to connected consoles. |
|
Package statuspage owns the public status pages: the admin CRUD over a page and its agent-group/target selection, and the anonymous, sanitized reads that serve it to the world.
|
Package statuspage owns the public status pages: the admin CRUD over a page and its agent-group/target selection, and the anonymous, sanitized reads that serve it to the world. |
|
Package store opens the SQLite database (pure-Go modernc driver, CGO-free) and applies embedded migrations.
|
Package store opens the SQLite database (pure-Go modernc driver, CGO-free) and applies embedded migrations. |
|
storetest
Package storetest opens throwaway databases for tests.
|
Package storetest opens throwaway databases for tests. |
|
Package targetstatus is the server-authoritative current-status domain service (STATUS-001).
|
Package targetstatus is the server-authoritative current-status domain service (STATUS-001). |
|
Package tsstore is the time-series data plane: raw metric samples and their downsampled tiers live here, in four embedded Prometheus TSDB instances, while everything relational — the series dictionary, rollup watermarks, detector state, incidents — stays in SQLite.
|
Package tsstore is the time-series data plane: raw metric samples and their downsampled tiers live here, in four embedded Prometheus TSDB instances, while everything relational — the series dictionary, rollup watermarks, detector state, incidents — stays in SQLite. |
|
tsstoretest
Package tsstoretest opens throwaway tsstore instances for tests, mirroring storetest's contract: a temp directory, production-like options, and a Windows-tolerant cleanup — the head chunks and WAL are memory-mapped, and Windows releases those handles slightly after Close, so removal is retried rather than silently skipped (a test that leaks a directory should say so).
|
Package tsstoretest opens throwaway tsstore instances for tests, mirroring storetest's contract: a temp directory, production-like options, and a Windows-tolerant cleanup — the head chunks and WAL are memory-mapped, and Windows releases those handles slightly after Close, so removal is retried rather than silently skipped (a test that leaks a directory should say so). |
|
Package updatecheck reports whether a newer NetTact release exists for the running install, and what the newest agent release is (so the console can flag agents left behind).
|
Package updatecheck reports whether a newer NetTact release exists for the running install, and what the newest agent release is (so the console can flag agents left behind). |
|
Package wireadapt is the per-wire-schema adapter registry for this module's own WebSocket hub and enrollment endpoint.
|
Package wireadapt is the per-wire-schema adapter registry for this module's own WebSocket hub and enrollment endpoint. |
Click to show internal directories.
Click to hide internal directories.