Commit Graph

4 Commits

Author SHA1 Message Date
nicolargo
6ade42c142 Increase CPU context switch thresolds 2026-05-15 10:15:19 +02:00
nicolargo
5c649d113d test(v5): align cpu tests with new prominent flags
The cpu schema was updated so:
  total       prominent True  (kept)
  system      prominent False (kept)
  user        prominent False (kept)
  iowait      prominent True  (was False) — surface sustained I/O wait
  dpc         prominent False (kept)
  steal       prominent False (was True)  — non-prominent escalation
  ctx_switches prominent False (was True) — non-prominent escalation

Renames test_system_user_iowait_dpc_are_watched_non_prominent →
test_system_user_dpc_are_watched_non_prominent (iowait moved out).
Adds test_iowait_is_watched_prominent. Updates _levels assertions for
steal and ctx_switches to expect prominent=False. Updates the cpu
render-test fixture's _levels.steal accordingly.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-13 16:43:03 +02:00
nicolargo
15fbf5de58 Introduce min_duration_seconds per field for thresolds / Add a new main entry point for Glances v5 2026-05-12 13:28:14 +02:00
nicolargo
f443d8ae05 Implement CPU plugin v5 - Add normalize_by option to normalise a limit by another field (ex: load and ctx switch) 2026-05-06 18:30:50 +02:00