Tutor plugin: overview
The Tutor plugin for Panorama (tutor-contrib-panorama) is the convenient, all-in-one way
to run Panorama on Open edX. It wires together every other component of the stack so that, for
most operators, this plugin is the only thing you install and configure directly.
Repository: github.com/aulasneo/tutor-contrib-panorama. Licensed under Apache 2.0.
Note
If you run Open edX with Tutor, start here. The rest of this manual documents the individual components; this section documents how the plugin assembles them.
What the plugin does
Enabling the plugin sets up, depending on the mode:
The extraction agent. It runs Panorama Extract and Load to extract data from MySQL and MongoDB and upload it to the data lake, on a schedule.
Tracking logs. It extracts Open edX tracking logs (via a Fluent Bit sidecar) and uploads them to the data lake, so event-based analytics (video views, forum activity, and so on) are possible.
The backend. It adds panorama-openedx-backend to the
openedximage and injects the Django settings it needs.The MFE. It adds the Panorama MFE to the
mfeimage, served at/panorama/, and points the MFE config at it.A dashboard link. On the Sumac (19.x) line, it can optionally replace the learner-dashboard MFE with a fork that adds a direct link to Panorama from the learner dashboard (removed on Teak 21.x+; see Tutor plugin: configuration).
Scheduling. On Kubernetes it adds a
CronJobto run extraction periodically; on local (Docker Compose) deployments it runs a cron container. The period is configurable.
See Tutor plugin: what it deploys and operations for exactly what gets built and scheduled.
Components and versions it pins
Each release of the plugin pins compatible versions of the other components, so you get a tested combination rather than assembling versions yourself. A given release pins, for example:
the
panorama-eltDocker image tag (the extraction agent and its logs image),the
panorama-openedx-backendPyPI version (installed into theopenedximage),the
frontend-app-panoramagit tag (the MFE), andthe
frontend-app-learner-dashboardfork tag (used only when the dashboard link is enabled).
The plugin follows Open edX’s named releases (it is versioned per release, for example the Sumac line). Use the plugin version that matches your Open edX release.
How it maps to the rest of this manual
The plugin sets up… |
…documented in |
|---|---|
Extraction, data lake tables and views, partitions |
Extract and Load: overview and the Extract and Load section |
The AWS data lake and permissions (CUSTOM mode) |
Extract and Load: setting up the data lake and Tutor plugin: configuration |
The in-LMS dashboard API and admin |
Open edX Backend: overview, Open edX Backend: Panorama modes, Open edX Backend: administration |
The dashboard MFE |
|
Modes, configuration variables, scheduling |
Tutor plugin: installation and modes, Tutor plugin: configuration, Tutor plugin: what it deploys and operations |