Skip to content

Commit 9e3ffca

Browse files
authored
[+] improve change_events metric processing (#932)
* [+] improve `change_events` metric processing Move `HostState` to `RuntimeInfo.ChangeState` for better data organization. Convert standalone detection functions to `Reaper` methods for consistency. Replace verbose `Info` logs with structured `Debug` logs using `WithField()`. Eliminate `hostState` parameter passing throughout detection methods. Add `Total()` and `String()` helper methods to `ChangeDetectionResults`. Improve change summary with structured logging fields instead of string concatenation. Simplify deletion tracking by removing intermediate arrays * [+] add tests
1 parent 6b24faa commit 9e3ffca

File tree

5 files changed

+559
-133
lines changed

5 files changed

+559
-133
lines changed

0 commit comments

Comments
 (0)