Skip to content
This repository has been archived by the owner on Feb 4, 2018. It is now read-only.

Telemetry data gathering utility for diagnosing Moodle performance/stability issues

Notifications You must be signed in to change notification settings

AVADOLearning/moodle-local_telemetry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Telemetry log for Moodle

Keeps track of some basic process state to aid with diagnosis of performance problems on Moodle sites.


Installation

  1. Clone this directory into /local/telemetry.
  2. Execute the Moodle upgrades.

Patch the configuration file

Add the following lines to /config.php to allow the telemetry plugin to initialise early on in Moodle's setup:

// Register the telemetry plugin's shutdown function
require_once __DIR__ . '/local/telemetry/locallib.php';
local_telemetry_init();

Debugging tip

It's easier to debug exceptions thrown during database transactions if you place a breakpoint inside shutdown_manager::shutdown_handler()'s try {} catch {} block.

About

Telemetry data gathering utility for diagnosing Moodle performance/stability issues

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages