d79799da90
test(app): refactor test to parametrized tests
2025-08-12 09:51:58 +02:00
fc31a953aa
feat(app): implement state in order to not flood of notification during run
2025-08-12 09:46:47 +02:00
c1177c5ea5
refactor: move services into services directory
2025-08-10 18:12:43 +02:00
8a0c71c494
refactor(app): split service into two parts
2025-08-10 17:56:20 +02:00
a9149178d4
refactor(service): remove useless comments
2025-08-10 17:46:34 +02:00
fd9a1114b9
feat: implement driving cron actor
2025-08-10 17:41:10 +02:00
91c5209266
feat: implement StdoutNotificationActor for get command
2025-08-10 16:58:40 +02:00
dac46a1652
fix: clippy lint on format
2025-08-10 16:48:56 +02:00
33e1423dee
refactor: implement configurator
2025-08-10 16:47:37 +02:00
23b331a4f8
feat: implement clap
2025-08-10 16:38:29 +02:00
e7b35953ca
test(app): add unit tests for app
2025-08-09 22:43:02 +02:00
12cf26d8a6
refactor(app): better error handling
2025-08-09 22:42:30 +02:00
f3e8b01d7e
refactor(app): split service into two funtions
2025-08-09 22:28:22 +02:00
0564083ac7
fix(lang): alert_formatter is in english now
2025-08-09 18:01:52 +02:00
f53aef1821
refactor(app): implement ports & adapters
...
* also move alertFormatter into internal actor
2025-08-09 17:53:01 +02:00
985ee54669
refactor: move business logic into app
...
* also move all at directory root crate
* all actors are into lib directory
* formatter is into system_monitor now
2025-08-09 14:25:22 +02:00
3bb8f39e34
refactor: implement app directory structure
...
also fix a bug in alert_formatter.rs
2025-08-09 11:21:37 +02:00
288ff34c01
refactor(system_monitor): move metrics collection and alerting to dedicated modules
...
* node_notifier doesn't need sysinfo anymore.
* implement AlertFormatter in node_notifier and its own file.
* implement SystemMonitor, ResourceThreshold, ThresholdViolation, and Severity in system_monitor.
* implement parametrized tests for SystemMonitor.
2025-08-09 10:36:30 +02:00
af48990cf7
refactor(resources): implement ResourceThreshold struct
2025-07-22 23:08:05 +02:00
944d9d663d
refactor(notif): Use discord_client crate
...
- Moved code into a new Rust crate `node-notifier`
- Create new crate discord client
- node_notifier use now discord client
2025-07-20 13:28:20 +02:00
f625268fca
Initial commit
2025-07-09 23:17:36 +02:00