stable

Clone or download

Read-only

Add prometheus metrics for workers and system events

Side contribution: allow to specify the php binary for phpcs. It's useful for people working with a php version on system different from the Tuleap one (eg. /usr/bin/php 7.2 while Tuleap request php 7.3+). Part of request #13891 Gather more metrics about Tuleap backend Change-Id: Ibff1433a7a965d8e51e5b014109450717571db93

Modified Files

Name
M plugins/prometheus_metrics/include/MetricsCollector.php +25 −18 Go to diff View file
M plugins/prometheus_metrics/include/MetricsController.php +8 −1 Go to diff View file
M plugins/prometheus_metrics/include/prometheus_metricsPlugin.php +9 −0 Go to diff View file
M plugins/prometheus_metrics/phpunit/MetricsControllerTest.php +7 −1 Go to diff View file
A src/common/Queue/QueueInstrumentation.php +49 −0 Go to diff View file
M src/common/Queue/Redis/RedisPersistentQueue.php +26 −3 Go to diff View file
M src/common/system_event/SystemEvent.class.php +13 −1 Go to diff View file
A src/common/system_event/SystemEventInstrumentation.php +37 −0 Go to diff View file
M src/common/system_event/SystemEventManager.class.php +2 −0 Go to diff View file
M src/common/system_event/SystemEventProcessor.class.php +5 −2 Go to diff View file
M tools/utils/githooks/pre-commit-02-phpcs +7 −3 Go to diff View file