Skip to main content

Analysis

The Analysis plugin keeps, day by day, what people do on the platform, for those who study how a course or a lab uses it: who signs in, which workspaces start, how long they run and how long someone uses them, by person, team and template. Turn it on on the Plugins page; it counts from then on.

What is counted​

Counted
Sign-insEach successful sign-in, of whoever signed in.
StartsEach start of a workspace that came to run, of its creator.
Hours runningEvery five minutes (analysis.sample), five minutes for each workspace that runs.
Hours usedThe same, for each workspace someone reached through its gateway in those five minutes.
Active peopleThose who signed in or used a workspace.

Each event and each five minutes is counted once, however often its job runs. What is counted outlives what it is about: a deleted workspace keeps its hours, and a deleted account, team or template leaves them anonymous. Counts older than analysis.retention_days (730 by default) are deleted by the daily job analysis.prune.

Reading it​

The Analysis page of the administration, for holders of analysis:read (admins; give it to researchers with a role of their own), shows the last week to the last year: totals, a measure day by day, and the templates and teams that ran the most hours.

Download CSV, or GET /v1/analysis/export?since=&until=, gives each person's sign-ins, starts, workspaces and minutes each day of a span of a year at most. By default people are named by a pseudonym derived from the platform's secret key: the same in every export of the installation, so that a person's days can be followed, and telling nobody who is who. Exports are audited as analysis.export.

Turning it off​

Nothing is counted meanwhile; what was counted is kept.