Installation¶
Download
tool_otel-<version>.zipfrom the releases, or clone the repository intopublic/admin/tool/otel:git clone https://github.com/moodle-observability/moodle-tool_otel.git public/admin/tool/otel
Run
php admin/cli/upgrade.php(or open Site administration > Notifications).Configure the OTLP endpoint (Configuration).
The SDK and its dependencies are in vendor/. They reuse the Guzzle, PSR and Symfony packages of Moodle core instead of shipping their own copies.
Uninstall: remove auto_prepend_file and $CFG->task_log_class if you set them, then Site administration > Plugins > Plugins overview, tool_otel, Uninstall.