Canonical Event Names
For OpenClaw, event names should follow:
domain.subject.measure[.suffix]
Event names are raw event identities.
- use event names for stable events
- use rollups and policies for hourly or daily logic
- do not encode time windows into event names
- treat
metaas inspection-only context in v1
Core agent-monitoring events:
tool.errors.counttool.calls.counttask.duration_mstokens.usedheartbeat.missed.count
Market and sentiment events:
market.bitcoin.price_usdmarket.bitcoin.volume_usdmarket.bitcoin.sentiment_scoresentiment.bitcoin.reddit.scoresentiment.bitcoin.reddit.positive.countsentiment.bitcoin.reddit.negative.countsentiment.bitcoin.reddit.post_volume.count
Do not encode time windows into event names. Bad examples:
tool.errors.last_hourreddit_sentiment_todaymarket.bitcoin.price_change_pct_1h
Use meta for inspection context like tool_name, task_name, workflow, source, or query, not for alert semantics in v1.
Recommended aggregates by event shape
These are operator conventions for policies and charts, not event-definition metadata stored in Ingres.
*.errors.count,*.count,*.used-> usuallysum; sometimescountwhen you need sample volume*.duration_ms-> usuallyaverage,p95_est,p99_est, ormax*.score,*.price_usd-> usuallyaverage,min, ormax*.gauge-> usuallyaverage,min, ormax- unknown suffix -> start with
sumonly if the event is intentionally additive
Analytics windows
When you need explicit comparisons, use the analytics window API rather than inventing derived event names:
period=1h&previous=previous_windowperiod=1h&previous=previous_7dperiod=1h&previous=previous_1mperiod=1d&previous=previous_1mperiod=7d&previous=previous_1mperiod=1m&previous=previous_window
Last updated on