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 forgreggd. - net
- Local-network address resolution utilities.
Local network interface discovery for
configprintdisplay. - 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
greggddaemon. - startup
- Startup installation and restart helpers.
Startup installation, instruction rendering, and restart helpers for
greggd. - status
- Read-only local diagnostic status composing config, version, health, and startup state.
Read-only local diagnostic status for
greggd status(Plan 106). - uninstall
- Component-safe uninstall.
Component-safe uninstall for the
greggddaemon (Plan 112). - update
- Binary-first self-update.
Binary-first self-update for
greggd.