]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-22479 Add BBT for new telemetry metrics
authorMatteo Mara <matteo.mara@sonarsource.com>
Mon, 22 Jul 2024 14:23:39 +0000 (16:23 +0200)
committersonartech <sonartech@sonarsource.com>
Wed, 24 Jul 2024 20:02:49 +0000 (20:02 +0000)
server/sonar-telemetry/src/main/java/org/sonar/telemetry/TelemetryDaemon.java

index 70e6471922427df99b8f2290b7da81ed796ced8a..4f2c42689a0b7e833092e721c6db7a488dfaf03b 100644 (file)
@@ -123,8 +123,8 @@ public class TelemetryDaemon extends AbstractStoppableScheduledExecutorServiceIm
 
         long now = system2.now();
         if (shouldUploadStatistics(now)) {
-          uploadMetrics();
           uploadLegacyTelemetry();
+          uploadMetrics();
 
           updateTelemetryProps(now);
         }