2 Commits

Author SHA1 Message Date
Hermes Agent
0143d47246 metrics: extract boolGauge to simplify RecordInventory
Resolves the SonarQube go:S3776 cognitive-complexity finding on
RecordInventory by replacing the pvc.Healthy if/else with a boolGauge
helper. Adds tests locking the pvc_backup_health gauge to exactly 1 for
healthy and 0 for unhealthy with unchanged metric identity and labels.

Closes #9

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-16 20:05:43 +00:00
codex
c5f922c6b7 test(soteria): raise telemetry and utility coverage 2026-04-20 17:41:28 -03:00