feat: add hermes_alive heartbeat metric for self-monitoring#20
Merged
Conversation
1f4bc71 to
2516cb2
Compare
added 5 commits
June 9, 2026 19:46
…t: keep both shutdown heartbeat and entry point)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements the self-monitoring heartbeat required for the
HermesAgentSilentPrometheus alert.Changes:
prometheus-client>=0.20topyproject.tomldependencies.hermes_aliveGauge metric tosrc/agentic_node_ops/processor.py.1on startup and0on graceful shutdown.Note: This enables Prometheus to detect if the Hermes agent process has crashed or become unresponsive.
Type of Change
Testing
ruff check&ruff format) applied and passingChecklist