End-To-End Walkthrough
Use this walkthrough for one complete OpenClaw-to-Chirpier pass.
Goal
Verify the full loop:
- log events
- compare recent windows with analytics
- create a policy and destination
- inspect test and real delivery behavior
- hand a human the public dashboard page
Sequence
- Export
CHIRPIER_API_KEY. - Emit one canonical event such as
tool.errors.countfromopenclaw.main. - Confirm the event definition appears in Chirpier.
- Run an analytics comparison:
Raw API
curl -G https://api.chirpier.co/v1.0/events/$EVENT_ID/analytics \
-H "Authorization: Bearer $CHIRPIER_API_KEY" \
--data-urlencode "view=window" \
--data-urlencode "period=1h" \
--data-urlencode "previous=previous_window"- Create one policy for the event.
- Create one destination.
Raw API
curl -X POST "https://api.chirpier.co/v1.0/destinations" \
-H "Authorization: Bearer $CHIRPIER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"channel": "slack",
"url": "https://hooks.slack.com/services/T000/B000/secret",
"scope": "all",
"policy_ids": [],
"enabled": true
}'- Send a destination test and capture the returned test
alert_id:
Raw API
TEST_ALERT_ID=$(curl -s -X POST \
-H "Authorization: Bearer $CHIRPIER_API_KEY" \
https://api.chirpier.co/v1.0/destinations/$DESTINATION_ID/test | jq -r '.alert_id')- Inspect the test delivery history:
Raw API
curl -G https://api.chirpier.co/v1.0/alerts/$TEST_ALERT_ID/deliveries \
-H "Authorization: Bearer $CHIRPIER_API_KEY" \
--data-urlencode "kind=test"- Trigger a real alert by exceeding the policy threshold.
- Inspect the default delivery history view for the real alert.
- Make the event public.
- Direct the user to the public dashboard page for the event.
What success looks like
- the event definition is stable under
agent + event - analytics returns the expected current and previous window values
- the policy triggers on the intended threshold
- the destination test returns an
alert_id kind=testshows the destination test delivery for thatalert_id- the real alert appears in the default delivery history view
- the public dashboard page works for human trend inspection
Related pages
Last updated on