hermes-agent/agent/monitoring
Victor Kyriazakos 0ef0816284 feat(monitoring): count background_work task-granular (expand delegate batches)
A delegate_task fan-out batch occupies ONE async-pool slot by design, so
active_count() (unit/slot count) reports a 3-task batch as 1 — which
undercounts real concurrent subagent load on the background_work metric.
Add active_task_count() that expands a running batch to its child count
(N-task batch -> N, single -> 1) and switch the background_work reader to
it. active_count() is unchanged (capacity semantics preserved). Adds a
contract test for the unit-vs-task distinction and documents both counts.
2026-07-25 02:12:12 +00:00
..
__init__.py refactor(monitoring): scope telemetry substrate to gateway health/diagnostics export 2026-07-24 18:54:45 +00:00
cron_health.py fix(monitoring): correct cron operational signals 2026-07-24 18:54:46 +00:00
emitter.py fix(monitoring): drain terminal lifecycle events 2026-07-24 18:54:45 +00:00
events.py feat(monitoring): add cron operational telemetry 2026-07-24 18:54:46 +00:00
gateway_health.py fix(monitoring): enrich gateway diagnostic scope 2026-07-24 18:54:46 +00:00
gateway_health_export.py feat(monitoring): count background_work task-granular (expand delegate batches) 2026-07-25 02:12:12 +00:00
otlp_exporter.py feat(monitoring): add cron operational telemetry 2026-07-24 18:54:46 +00:00
policy.py fix(monitoring): address review — persist install_id, drop dead config, single redaction path 2026-07-24 18:54:45 +00:00
redaction.py fix(monitoring): enrich gateway diagnostic scope 2026-07-24 18:54:46 +00:00