forked from marketing-factory/typo3_prometheus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ext_localconf.php
28 lines (21 loc) · 1.18 KB
/
ext_localconf.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?php
$TYPO3_CONF_VARS['FE']['eID_include']['prometheus_metrics'] = 'EXT:prometheus/Classes/Eid/Metrics.php';
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['prometheus']['metricsToMeasure']['fast'] = [
\Mfc\Prometheus\Services\Metrics\FeSessionsMetrics::class,
\Mfc\Prometheus\Services\Metrics\FeUsersMetrics::class,
\Mfc\Prometheus\Services\Metrics\BeSessionsMetrics::class,
\Mfc\Prometheus\Services\Metrics\BeUsersMetrics::class,
\Mfc\Prometheus\Services\Metrics\SysDomainMetrics::class,
\Mfc\Prometheus\Services\Metrics\SysLockedRecordsMetrics::class,
\Mfc\Prometheus\Services\Metrics\CfCachePagesMetrics::class,
\Mfc\Prometheus\Services\Metrics\CfCachePagesTagsMetrics::class,
];
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['prometheus']['metricsToMeasure']['slow'] = [
\Mfc\Prometheus\Services\Metrics\PagesMetrics::class,
\Mfc\Prometheus\Services\Metrics\TtContentMetrics::class,
];
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['prometheus']['metricsToMeasure']['medium'] = [
\Mfc\Prometheus\Services\Metrics\SysLogMetrics::class,
];
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['extbase']['commandControllers'][] =
\Mfc\Prometheus\Controller\MetricsCommandController::class;