Skip to content

stats: own page under Projects, per-host breakdown of agents and probes - #289

Merged
aaylward merged 3 commits into
mainfrom
stats-page
Sep 1, 2026
Merged

stats: own page under Projects, per-host breakdown of agents and probes#289
aaylward merged 3 commits into
mainfrom
stats-page

Conversation

@aaylward

@aaylward aaylward commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Companion to muchq/MoonBase#1466 (MoonBase#1458). The stats tab leaves the metrics dashboard for its own /stats page in the Projects menu. Host rows are now an accordion: click one for its named AI scrapers, bots, and the unclassified tail by product token, plus the scanner families that hit it. Above the fold: AI scrapers by day, busiest agents across hosts, probes, and the short-link table as before.

Renders fine against a stats service that predates the two new endpoints. Geo is a follow-up (MoonBase#1467).

npm run typecheck && npm test && npm run build pass.

The stats tab moves out of the metrics dashboard to /stats (the old
/metrics/stats redirects). Each host row opens into its named AI
scrapers, bots, and unclassified agents plus the scanner families that
hit it, from the new /agents and /probes endpoints (MoonBase#1466);
top-level tables cover AI scraper volume by day, the busiest agents, and
probes across hosts. Pure rollup helpers carry the grouping so the
component stays a renderer.
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Sep 1, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
muchq 703a791 Commit Preview URL

Branch Preview URL
Sep 01 2026, 11:40 PM

Ask the agents endpoint for its row ceiling so thin days of a scraper
show as rows rather than gaps; let the detail cell wrap instead of
inheriting the host table's nowrap; say "not available" for a table
whose endpoint failed rather than claiming zero rows; drop the
aria-controls that pointed at an unmounted row. Tests pin the row-click
toggle, per-endpoint windows, server ordering, browser exclusion from
the breakdown, and one name under two classes.
@aaylward
aaylward enabled auto-merge (squash) September 1, 2026 23:39
@aaylward
aaylward merged commit bb1eb0e into main Sep 1, 2026
1 check passed
@aaylward
aaylward deleted the stats-page branch September 1, 2026 23:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant