stable

Clone or download

Read-only

chore: Add instrumentation for XTS query

Part of story #39330 Choose on which tracker I perform my query Instrument some stats: - duration of the query itself - number of trackers retrieved by FROM - number of columns in SELECT *Testing:* You should see these stats appears on you prometheus instance when using the xts widget. For the names check CrossTrackerInstrumentation Change-Id: I748d4c2aaf20f60ff11eea06c212f4b5b3e340c7

Modified Files

Name
A plugins/crosstracker/include/CrossTracker/CrossTrackerInstrumentation.php +79 −0 Go to diff View file
M plugins/crosstracker/include/CrossTracker/REST/v1/CrossTrackerReportsResource.php +15 −5 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/CrossTrackerArtifactReportFactory.php +7 −1 Go to diff View file
M plugins/crosstracker/include/crosstrackerPlugin.php +3 −0 Go to diff View file
M plugins/crosstracker/tests/integration/CrossTracker/Tests/Report/ArtifactReportFactoryInstantiator.php +3 −0 Go to diff View file