stable
Clone or download
Read-only
request #9789 Introduce instrumentation
Tuleap\Instrument aims to provide Tuleap developers a dead simple API to instrument their code. As of today, it focuses on time profiling but will soon provide others like increment, sets or gauges (as soon as we figure out how useful they can be). How to test: * yum install -y php-domnikl-statsd * docker-compose up -d graphite * configure statsd variables in local inc - $statsd_server = 'tuleap-graphite location'; - $statsd_port = 8125; - $statsd_server_id = 'local'; Depends on package https://tuleap.net/plugins/git/tuleap/deps/3rdparty/php-domnikl-statsd Change-Id: Icc39ff6bebf8d1835e126c8482c82bbdc87c377a
Modified Files
Name | ||||
---|---|---|---|---|
M | docker-compose.yml | +6 | −0 | Go to diff View file |
M | plugins/tracker/include/Tracker/Artifact/Tracker_Artifact.class.php | +2 | −0 | Go to diff View file |
M | plugins/tracker/include/Tracker/Report/Tracker_Report.class.php | +2 | −0 | Go to diff View file |
A | src/common/Instrument/Collect.php | +63 | −0 | Go to diff View file |
A | src/common/Instrument/NoopStatsd.php | +32 | −0 | Go to diff View file |
M | src/common/autoload.php | +4 | −2 | Go to diff View file |
M | src/etc/local.inc.dist | +9 | −0 | Go to diff View file |
M | src/www/include/pre.php | +4 | −1 | Go to diff View file |