About
Hub statistics derived from the records: the /statistics dashboard and the home card, with datasets counted by lineage and by version, distinct authors, a deduplicated registry of use (a visitor a day, no cookies, robots, owners and drafts left out) that holds the daily history carried over from uvlhub 2.12 with its public note, slots the features fill with KPIs, tables, sections and exports, and the CSV/JSON exports at uvlhub 2.12's addresses
Provides
UsageDailyUsageEventUsageNoteUsageSalt
DashboardService
/statistics/statistics/export.csv/statistics/export.json
home.aside
es
Commands
-
$
splent feature:statistics usage-note SOURCE [NOTE] [OPTIONS]Set what the dashboard says next to the figures of SOURCE (legacy_v2, the use carried over from uvlhub 2.12), and until which day they go.
-
$
splent feature:statistics usage-rollupRoll the days of use that are over up into their daily figures, and delete their raw events and salts. The first visit of a day does it too, so this is for a hub nobody visited today.
Run them in your workspace once the feature is installed in the selected product.
Dependencies
In product lines
-
openhubs_spl
Optional in this line
Needs
dataset
Extension points
hooks/home_statistics.htmlstatistics/index.html
DashboardService
UsageDailyUsageEventUsageNoteUsageSalt
Other features fill its hook slots. A refinement can override its templates and services or extend its models without forking it.
Compatibility
>=3.13
>=1.30.0