Download agent/monitoring/__init__.py from SaylorTwift/hermes-agent: direct link, hf CLI and curl.
- Browser
- Download file 611 Bytes
-
https://huggingface.co/SaylorTwift/hermes-agent/resolve/main/agent/monitoring/__init__.py
- Command line
-
hf download hf://SaylorTwift/hermes-agent/agent/monitoring/__init__.py
-
curl -L -o __init__.py https://huggingface.co/SaylorTwift/hermes-agent/resolve/main/agent/monitoring/__init__.py
611 Bytes
| """Hermes gateway monitoring: service health + redacted diagnostics over OTLP. | |
| ``emitter`` is the in-process event bus: producers hand typed events to a | |
| fire-and-forget queue that never blocks or raises into gateway code, and OTLP | |
| subscribers consume them off the hot path. Nothing is persisted locally. | |
| Out of scope: trajectory capture, usage analytics, any content-bearing signal | |
| (those belong to the NeMo Relay integration). | |
| """ | |
| from __future__ import annotations | |
| from . import emitter, events | |
| emit = emitter.emit | |
| get_emitter = emitter.get_emitter | |
| __all__ = ["emitter", "events", "emit", "get_emitter"] | |