feat(reporter): add uptime and fleet counters to state snapshot
This commit is contained in:
1 parent
7f323ed78b
commit
3b1e25d5cd
6 files changed
+55
-6
No files matched your search
@@ -30,6 +30,7 @@ The standard `crowdsec-firewall-bouncer` can occasionally experience "ghost" des
|
||||
### The Reporter (`reporter.py`)
|
||||
- Writes local health state JSON atomically.
|
||||
- Persists structured heal history, including pre/post fingerprints and heal result.
|
||||
- Exposes lightweight node metrics in state (`uptime_seconds`, `checks_total`, `heals_total`, `heal_failures_total`).
|
||||
- Default state path: `/root/threat-engine-agent/threat-agent-state.json`.
|
||||
|
||||
## 📂 Project Structure
|
||||
|
||||
Reference in new issue
Block a user