feat(query): include session totals and stable framework names

This commit is contained in:
William Valentin
2026-05-20 17:35:56 -07:00
parent db73eca6fd
commit 78376bdd83
5 changed files with 82 additions and 3 deletions
+14
View File
@@ -218,6 +218,20 @@ The `hooks/gemini/` directory contains a TypeScript handler for Gemini CLI telem
Sample Gemini hook configuration lives in [hooks/gemini/hooks.json](/home/will/lab/agentmon/hooks/gemini/hooks.json). Install the handler from that directory so the `agentmon-gemini-handler` binary is available, then point Gemini CLI at the sample hook config and set `AGENTMON_INGEST_URL` to your ingest gateway.
## Hermes Hook
The `hooks/hermes/` directory contains a TypeScript handler for Hermes Agent shell-hook telemetry. The current integration maps Hermes hook events into agentmon's session/run/span model:
- `on_session_start` maps to `session.start`
- `pre_llm_call` maps to `run.start`
- `post_llm_call` maps to `run.end`
- `pre_tool_call` maps to `span.start`
- `post_tool_call` maps to `span.end`
- `post_api_request` maps usage payloads to `metric.snapshot`
- `on_session_finalize` maps to `session.end`
Sample Hermes hook configuration lives in [hooks/hermes/hooks.yaml](/home/will/lab/agentmon/hooks/hermes/hooks.yaml). Install the handler from that directory so the `agentmon-hermes-handler` binary is available, then merge the sample `hooks:` block into `~/.hermes/config.yaml` and set `AGENTMON_INGEST_URL` to your ingest gateway.
## Go SDK
Emit events from Go applications: