The rollup counts the tags on posted links, and the pulse has a right-now
Reddit and BoardGameGeek send no referrer, so a visitor from either looks direct. A ?ref=<name> on the posted link says where they came from; the rollup counts those (one per address per day, Facebook's fbclid as its own) beside the referrers browsers do send. The pulse gains a right-now recipe: live sockets, rooms touched in the last hour, and today's partial row. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Jm2auWk6RP71CjaAb4FMoG
This commit is contained in:
co-authored by
Claude Fable 5.1
parent
ac2c3576a7
commit
cf7920e159
@@ -40,7 +40,15 @@ quiet, say so in one line before the details.
|
||||
serviceStarts, ledgerMB). Report day-over-day direction, not raw
|
||||
rows. Its Sentry cron monitor is slug `wizwar-rollup` (a missed
|
||||
check-in there means the rollup itself is broken). Re-roll a day by
|
||||
hand: `wizwar-rollup.sh YYYY-MM-DD`.
|
||||
hand: `wizwar-rollup.sh YYYY-MM-DD`. `campaigns` counts visitors
|
||||
(one per address per day) whose link carried `?ref=<name>` — the tags
|
||||
on Eric's posts (reddit, bgg, …) — or a Facebook fbclid; referrers
|
||||
alone can't attribute Reddit or BGG, which send none.
|
||||
**Right now** (on request, or when the announcement is fresh): live
|
||||
sockets `ss -tn state established '( sport = :8787 )' | tail -n +2 | wc -l`,
|
||||
rooms touched in the last hour `find /var/lib/wizwar/rooms -name '*.jsonl' -mmin -60 | wc -l`,
|
||||
and today so far `wizwar-rollup.sh $(date -u +%F)` (a partial row,
|
||||
replaced again at 00:10; the vitals in it are the moment's).
|
||||
5. **The table itself**:
|
||||
- Room count and growth: `ls /var/lib/wizwar/rooms/*.jsonl | wc -l`
|
||||
- New human names this week: room ledgers' join lines minus bots
|
||||
|
||||
Reference in New Issue
Block a user