Skip to content

feat(monitors) Add 20 new monitors, config system, health endpoints, … - #14

Open
Paulius0112 wants to merge 1 commit into
mainfrom
feat/comprehensive-monitoring
Open

feat(monitors) Add 20 new monitors, config system, health endpoints, …#14
Paulius0112 wants to merge 1 commit into
mainfrom
feat/comprehensive-monitoring

Conversation

@Paulius0112

Copy link
Copy Markdown
Owner

…and Grafana dashboard

  • Add comprehensive Linux monitoring with 20 new monitors:

    • CPU: cpu_stat, loadavg, cpufreq, cpuidle, schedstat
    • Memory: vmstat, zoneinfo, buddyinfo, slabinfo
    • Process: proc_extended (unified process metrics)
    • Network: netstat, sockstat, netinfo
    • Block I/O: blkqueue, blkinflight
    • System: entropy, fs_stats, uptime, thermal
    • cgroup: v1/v2 auto-detection with CPU/memory/IO/PIDs metrics
  • Add infrastructure improvements:

    • TOML config file support (--config flag)
    • CLI flags for port (--port) and bind address (--bind)
    • Health endpoint (/health) and readiness endpoint (/ready)
    • Graceful shutdown on SIGTERM/SIGINT
    • Shared parser utilities (src/parsers.rs)
  • Add deployment and visualization:

    • Grafana dashboard with 20+ panels (examples/grafana-dashboard.json)
    • Docker Compose setup with Prometheus and Grafana (deploy/)
    • Sample config file (examples/proctap.toml)
  • Add tests:

    • Integration tests for all parsing formats
    • Test fixtures with sample proc/sys data
    • Unit tests for parser utilities

…and Grafana dashboard

- Add comprehensive Linux monitoring with 20 new monitors:
  - CPU: cpu_stat, loadavg, cpufreq, cpuidle, schedstat
  - Memory: vmstat, zoneinfo, buddyinfo, slabinfo
  - Process: proc_extended (unified process metrics)
  - Network: netstat, sockstat, netinfo
  - Block I/O: blkqueue, blkinflight
  - System: entropy, fs_stats, uptime, thermal
  - cgroup: v1/v2 auto-detection with CPU/memory/IO/PIDs metrics

- Add infrastructure improvements:
  - TOML config file support (--config flag)
  - CLI flags for port (--port) and bind address (--bind)
  - Health endpoint (/health) and readiness endpoint (/ready)
  - Graceful shutdown on SIGTERM/SIGINT
  - Shared parser utilities (src/parsers.rs)

- Add deployment and visualization:
  - Grafana dashboard with 20+ panels (examples/grafana-dashboard.json)
  - Docker Compose setup with Prometheus and Grafana (deploy/)
  - Sample config file (examples/proctap.toml)

- Add tests:
  - Integration tests for all parsing formats
  - Test fixtures with sample proc/sys data
  - Unit tests for parser utilities
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant