stable

Clone or download

Read-only

request #14442: Metrics should expose the flavor of the build and the version

This is nice to have information when you manage multiple Tuleap instance. The approch to expose those values is the same than the one used by Prometheus itself [0]. [0] https://github.com/prometheus/common/blob/master/version/info.go#L39-L54 Change-Id: I9f138b60f07c5c66db6ec29234f4e8ef1c107493

Modified Files

Name
M plugins/prometheus_metrics/include/MetricsCollector.php +26 −5 Go to diff View file
M plugins/prometheus_metrics/include/MetricsController.php +21 −7 Go to diff View file
M plugins/prometheus_metrics/include/prometheus_metricsPlugin.php +3 −0 Go to diff View file
M plugins/prometheus_metrics/phpunit/MetricsControllerTest.php +15 −4 Go to diff View file
M src/common/BuildVersion/VersionPresenter.php +8 −1 Go to diff View file
M tests/phpunit/common/BuildVersion/VersionPresenterTest.php +2 −0 Go to diff View file