https://github.com/oat-sa/extension-tao-monitoring
https://github.com/oat-sa/extension-tao-monitoring
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/oat-sa/extension-tao-monitoring
- Owner: oat-sa
- License: gpl-2.0
- Created: 2016-03-04T14:55:30.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2024-04-16T14:39:54.000Z (about 1 year ago)
- Last Synced: 2024-11-09T05:20:05.830Z (7 months ago)
- Language: PHP
- Size: 699 KB
- Stars: 1
- Watchers: 50
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TAO Aggregated statistics
This extension contains services for creating and maintaining aggregated statistics.
## Usages:
Using `MonitoringPlugService` you can configure which statistics will be logged.
```php
getServiceManager()->get(MonitoringPlugService::SERVICE_ID);
$service->setOption('services', [
InstantActionQueueLogService::SERVICE_ID,
]);
$this->getServiceManager()->register(MonitoringPlugService::SERVICE_ID, $service);return \common_report_Report::createSuccess('Monitoring plug service registered.');
}
}
```