An open API service indexing awesome lists of open source software.

https://github.com/oat-sa/extension-tao-monitoring


https://github.com/oat-sa/extension-tao-monitoring

Last synced: 6 months ago
JSON representation

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.');
}
}
```