stable

Clone or download

Read-only

Move /metrics end-point to plugin

While instrumentation is a core function, exposes of metrics should be in a plugin. Part of request #11614 Allow usage of prometheus instead of statsd for instrumentation Change-Id: I52b20962d4fb11e970fb9267e9bf6c621735ddb0

Modified Files

Name
A plugins/prometheus_metrics/Makefile +61 −0 Go to diff View file
A plugins/prometheus_metrics/README.mkd +8 −0 Go to diff View file
A plugins/prometheus_metrics/VERSION +1 −0 Go to diff View file
A plugins/prometheus_metrics/build-rpm.sh +25 −0 Go to diff View file
A plugins/prometheus_metrics/composer.json +7 −0 Go to diff View file
R src/common/Instrument/Metrics/MetricsCollector.php Go to diff View file
R src/common/Instrument/Metrics/MetricsCollectorDao.php Go to diff View file
R src/common/Instrument/MetricsController.php Go to diff View file
A plugins/prometheus_metrics/include/Plugin/PluginDescriptor.php +36 −0 Go to diff View file
A plugins/prometheus_metrics/include/Plugin/PluginInfo.php +32 −0 Go to diff View file
A plugins/prometheus_metrics/include/prometheus_metricsPlugin.class.php +60 −0 Go to diff View file
A plugins/prometheus_metrics/rpm/Dockerfile +10 −0 Go to diff View file
A plugins/prometheus_metrics/site-content/fr_FR/LC_MESSAGES/tuleap-prometheus_metrics.po +18 −0 Go to diff View file
A plugins/prometheus_metrics/site-content/tuleap-prometheus_metrics.pot +5 −0 Go to diff View file
A plugins/prometheus_metrics/tuleap-plugin-prometheus-metrics.spec +32 −0 Go to diff View file
M src/common/Request/RouteCollector.php +0 −3 Go to diff View file
M tools/rpm/tuleap.rhel6.spec +1 −0 Go to diff View file
M tools/rpm/tuleap.rhel7.spec +1 −0 Go to diff View file