stable

Clone or download

Read-only

Metrics exposes users and project status

This way we can have nice graph about projects and users distribution per status as well as track tendencies. Part of request #11614 Allow usage of prometheus instead of statsd for instrumentation Change-Id: I81906120fa218dd60f609b624b6d8223cfba99fb

Modified Files

Name
M plugins/tracker/include/Tracker/Artifact/ArtifactInstrumentation.php +1 −1 Go to diff View file
A src/common/Instrument/Metrics/MetricsCollector.php +95 −0 Go to diff View file
A src/common/Instrument/Metrics/MetricsCollectorDao.php +34 −0 Go to diff View file
M src/common/Instrument/MetricsController.php +11 −4 Go to diff View file
M src/common/Instrument/Prometheus/Prometheus.php +60 −26 Go to diff View file
M src/common/Request/RequestInstrumentation.php +1 −1 Go to diff View file
M src/common/autoload.php +4 −2 Go to diff View file
M src/common/project/ServiceInstrumentation.php +1 −1 Go to diff View file
M src/common/user/LoginInstrumentation.php +1 −1 Go to diff View file