token-monitor-collector
v0.1.2
Published
Standalone multi-collector ingestor for Codex and Claude Code logs.
Readme
token-monitor-collector
Standalone multi-collector ingestor for Codex and Claude Code logs.
Commands
npx [email protected] sync
npx [email protected] sync --watch
npx [email protected] doctor
npx [email protected] repair --source-id linux-main:codexEnvironment
TOKEN_MONITOR_COLLECTOR_ID(optional, defaults to<platform>-<hostname>)TOKEN_MONITOR_PG_DSNTOKEN_MONITOR_PG_HOSTTOKEN_MONITOR_PG_PORTTOKEN_MONITOR_PG_DBTOKEN_MONITOR_PG_USERTOKEN_MONITOR_PG_PASSWORDTOKEN_MONITOR_PG_SSLMODETOKEN_MONITOR_CODEX_ROOTTOKEN_MONITOR_CLAUDE_ROOTTOKEN_MONITOR_POLL_INTERVAL
TOKEN_MONITOR_PG_DSN takes precedence over the split PostgreSQL variables.
If TOKEN_MONITOR_COLLECTOR_ID is unset, the collector generates a stable default
such as linux-devbox from the current platform and hostname.
