Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lukecarrier/moodle-local_telemetry
Telemetry data gathering utility for diagnosing Moodle performance/stability issues
https://github.com/lukecarrier/moodle-local_telemetry
Last synced: about 1 month ago
JSON representation
Telemetry data gathering utility for diagnosing Moodle performance/stability issues
- Host: GitHub
- URL: https://github.com/lukecarrier/moodle-local_telemetry
- Owner: LukeCarrier
- Created: 2015-09-17T15:46:47.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-09-30T17:47:07.000Z (about 9 years ago)
- Last Synced: 2023-03-11T19:06:06.161Z (over 1 year ago)
- Language: PHP
- Size: 101 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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.