aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-webserver
diff options
context:
space:
mode:
authorLukasz Jarocki <lukasz.jarocki@sonarsource.com>2021-12-10 10:26:07 +0100
committerLukasz Jarocki <lukasz.jarocki@sonarsource.com>2021-12-13 15:22:58 +0100
commit0d0b7e4ff71957681e868404f87a526314f89181 (patch)
tree7a404c2e87183a90b3ee716c4874a21d798c6879 /server/sonar-webserver
parent38d139582c17354e22e54ea03a73213cd87ca87d (diff)
downloadsonarqube-0d0b7e4ff71957681e868404f87a526314f89181.tar.gz
sonarqube-0d0b7e4ff71957681e868404f87a526314f89181.zip
SONAR-15770 added compute engine metrics
Diffstat (limited to 'server/sonar-webserver')
-rw-r--r--server/sonar-webserver/src/main/java/org/sonar/server/platform/platformlevel/PlatformLevel4.java19
1 files changed, 17 insertions, 2 deletions
diff --git a/server/sonar-webserver/src/main/java/org/sonar/server/platform/platformlevel/PlatformLevel4.java b/server/sonar-webserver/src/main/java/org/sonar/server/platform/platformlevel/PlatformLevel4.java
index fe0c229346c..af5d604e2bc 100644
--- a/server/sonar-webserver/src/main/java/org/sonar/server/platform/platformlevel/PlatformLevel4.java
+++ b/server/sonar-webserver/src/main/java/org/sonar/server/platform/platformlevel/PlatformLevel4.java
@@ -126,9 +126,15 @@ import org.sonar.server.measure.ws.MeasuresWsModule;
import org.sonar.server.metric.MetricFinder;
import org.sonar.server.metric.UnanalyzedLanguageMetrics;
import org.sonar.server.metric.ws.MetricsWsModule;
+import org.sonar.server.monitoring.MainCollector;
import org.sonar.server.monitoring.MonitoringWsModule;
-import org.sonar.server.monitoring.devops.DevOpsPlatformsMetricsCollector;
+import org.sonar.server.monitoring.ce.NumberOfTasksInQueueTask;
+import org.sonar.server.monitoring.ce.RecentTasksDurationTask;
+import org.sonar.server.monitoring.devops.AzureMetricsTask;
+import org.sonar.server.monitoring.devops.BitbucketMetricsTask;
import org.sonar.server.monitoring.ServerMonitoringMetrics;
+import org.sonar.server.monitoring.devops.GithubMetricsTask;
+import org.sonar.server.monitoring.devops.GitlabMetricsTask;
import org.sonar.server.newcodeperiod.ws.NewCodePeriodsWsModule;
import org.sonar.server.notification.NotificationModule;
import org.sonar.server.notification.ws.NotificationWsModule;
@@ -578,7 +584,16 @@ public class PlatformLevel4 extends PlatformLevel {
// monitoring
ServerMonitoringMetrics.class,
- DevOpsPlatformsMetricsCollector.class,
+
+ AzureMetricsTask.class,
+ BitbucketMetricsTask.class,
+ GithubMetricsTask.class,
+ GitlabMetricsTask.class,
+
+ NumberOfTasksInQueueTask.class,
+ RecentTasksDurationTask.class,
+
+ MainCollector.class,
PluginsRiskConsentFilter.class