Files
agentmon/hooks/agentmon/HOOK.md
T
William Valentin e7be607db4 feat: extend agentmon hook with agent:bootstrap for embedded/cron runs
- Add agent:bootstrap handler to capture run.start events for cron and
  automation runs that bypass the message:received path
- Remove dead event subscriptions (tool_result_persist, session:compact:*)
  which are plugin hook events and never fire through triggerInternalHook
- Remove AGENTMON_INGEST_URL from requires.env since handler has a
  hardcoded fallback URL
- Drop activeCompactions map (no longer needed after removing compaction handlers)

Deployed to zap VM with hooks.internal.enabled=true in openclaw.json.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-15 17:32:32 -07:00

669 B

name, description, metadata
name description metadata
agentmon Emit OpenClaw telemetry events to the agentmon monitoring pipeline
openclaw
events export
command:new
command:stop
command:reset
message:received
message:sent
agent:bootstrap
default

Agentmon Telemetry Hook

Captures OpenClaw agent activity and emits it as agentmon.event envelopes to the agentmon ingest gateway.

Configuration

Set the ingest gateway URL before enabling the hook:

export AGENTMON_INGEST_URL=http://192.168.122.1:8080

You can optionally override the VM identifier:

export AGENTMON_VM_NAME=zap