Open Source Moodle Observability

See what happens inside your Moodle

Open-source plugins and tools that bring observability to the Moodle LMS: error tracking, performance monitoring, logs, metrics and tracing, so administrators and developers find and fix problems faster.

Moodle Plugins

🔌 Moodle Plugins

Moodle plugins that send errors, performance data and other signals from the platform to observability services.

moodle-tool_sentry

Stable

Admin tool plugin that sends Moodle errors, exceptions and performance traces to Sentry (self-hosted or sentry.io). It can start before Moodle through auto_prepend_file, catching even database connection failures.

Error Tracking & APM Sentry

moodle-tool_prometheus

In development

OpenMetrics exporter: a token-protected /metrics endpoint with active users and sessions, adhoc task queue, quiz attempts in progress, MUC cache hit ratio and moodledata disk usage.

Metrics Prometheus OpenMetrics Grafana

moodle-tool_taskmonitor

In development

Detects a stopped cron, records scheduled task durations and failures, flags stuck or failing adhoc tasks and alerts administrators through Moodle messaging.

Cron & Tasks Alerts

moodle-tool_healthcheck

In development

A lightweight liveness endpoint and a readiness endpoint that checks the database, caches, moodledata and sessions, with a JSON report of each check.

Health Checks Kubernetes Load Balancer Probes

moodle-tool_otel

In development

OpenTelemetry tracing for Moodle: spans for requests (with database aggregates), web services and tasks, exported through OTLP to Jaeger, Tempo or Sentry.

Tracing OpenTelemetry OTLP

moodle-tool_opensearch

In development

OpenSearch base for Moodle plugins: connection, a queue in the database, bulk shipping with retries, data streams with retention and metrics.

OpenSearch Bulk Data streams

moodle-logstore_opensearch

Planning

Log store that writes Moodle events to OpenSearch: the same fields as the standard log, or xAPI statements, each in its own data stream.

Logs OpenSearch xAPI