Граф коммитов

6 Коммитов

Автор SHA1 Сообщение Дата
Tad Glines efe4fab8fb
Cleanup compile warnings (#97) 2022-07-20 12:42:18 -07:00
Tad Glines 2be0248ca3
Add log metrics (#65) 2021-02-11 08:17:46 -08:00
Tad Glines 066448c1c4 Fix IO:DiscardAll bug and cgroup limits
- Fixed bug in IO::DiscardAll that could lead to buffer overrun
- Added unit test
- Fixed PriorityQueue::Put to enforce item size limit
- Modified auoms.service to include CPU limits
- Modified so that auoms/auomscollect will continue to monitor
  and re-apply cgroup membership
- Cleaned up some return value handling
2020-11-16 16:42:26 -08:00
Tad Glines 568f0587a8 Add IO metrics, bug fixes
- Add support for metrics from cummulative counter
- Add metrics from /proc/self/io
- Add PriorityQueue metrics
- Simplify locking strategy in PriorityQueue
- Fix unit tests
2020-08-24 10:10:32 -07:00
Tad Glines c963fc4307 Convert to new priority queue design
- Add PriorityQueue
- Add some missing copyright headers
2020-04-08 13:15:21 -07:00
Tad Glines 68ad23c06d
Add metrics collection and other changes (#36)
- Added collection of syscall metrics
- Added collection of auoms process CPU and MEM consumtion metrics
- Added system CPU and MEM metrics
- Added collection of event metrics
- Changed event accumulator so it uses steady clock for tracking event
  age instead of event id. Added more efficient LRU list.
- Changed so PATH records values are accumulated in a fixed set of
  fields where each field value is a JSON array of values ordered
  by PATH record order.
- Changed SYSCALL event type from AUOMS_EXECVE to AUOMS_SYSCALL
- Changed to include proctitle in non-execve syscall events.
- Fixed "-S all" and "-S <number>" rule handling.
- Fix std::function arg passing, make move semantics explicit.
- Move event filter logic into seperate class.
- Fix code so unit tests pass.
- Fix json encoding of escaped values.
- Remove exit(1) from ProcessNotify.
- Fix ProcessNotify/ProcessTree Stop().
- Fix parsing of INTEGRITY_POLICY_RULE records.
- Fix thread stack leak.
2019-11-21 14:55:06 -08:00