Skip to main content

Crate greggd

Crate greggd 

Source
Expand description

greggd library.

Provides the daemon components: configuration, service management, metrics collection, periodic sampling, and HTTP server.

Modulesยง

cli
CLI argument parsing and subcommand dispatch for the daemon. CLI argument parsing and subcommand dispatch for greggd.
collector
Native metrics collection for each supported platform. Native metrics collection.
config
Daemon configuration, validation, file I/O, and atomic persistence. Daemon configuration, validation, file I/O, and atomic persistence.
control
Local Unix-domain control socket for greggd stop. Local Unix-domain control socket for greggd.
net
Local-network address resolution utilities. Local network interface discovery for configprint display.
run
Foreground daemon entry point and shutdown orchestration. Foreground daemon entry point.
sampler
Periodic sampling loop that collects metrics and manages daemon state. Periodic sampling loop for the greggd daemon.
server
HTTP server for the daemon status and health endpoints. HTTP server for the greggd daemon.
startup
Startup installation and restart helpers. Startup installation, instruction rendering, and restart helpers for greggd.
update
Binary-first self-update. Binary-first self-update for greggd.