]> source.dussan.org Git - sonarqube.git/commit
SONAR-22479 Implement sending new telemetry metrics
authorAlain Kermis <alain.kermis@sonarsource.com>
Wed, 10 Jul 2024 13:37:38 +0000 (15:37 +0200)
committersonartech <sonartech@sonarsource.com>
Wed, 24 Jul 2024 20:02:48 +0000 (20:02 +0000)
commitffb8e4af38b27af60d9ba3127f7925580c59ca3f
treeb034bdd63de61363f0b83ef855dfc6466816eed3
parent34cf59a340ea31410cbb60019e6e445e9d8d2929
SONAR-22479 Implement sending new telemetry metrics
71 files changed:
server/sonar-db-core/src/main/java/org/sonar/db/version/SqTables.java
server/sonar-db-dao/src/it/java/org/sonar/db/telemetry/TelemetryMetricsSentDaoIT.java [new file with mode: 0644]
server/sonar-db-dao/src/main/java/org/sonar/db/DaoModule.java
server/sonar-db-dao/src/main/java/org/sonar/db/DbClient.java
server/sonar-db-dao/src/main/java/org/sonar/db/MyBatis.java
server/sonar-db-dao/src/main/java/org/sonar/db/telemetry/TelemetryMetricsSentDao.java [new file with mode: 0644]
server/sonar-db-dao/src/main/java/org/sonar/db/telemetry/TelemetryMetricsSentDto.java [new file with mode: 0644]
server/sonar-db-dao/src/main/java/org/sonar/db/telemetry/TelemetryMetricsSentMapper.java [new file with mode: 0644]
server/sonar-db-dao/src/main/java/org/sonar/db/telemetry/package-info.java [new file with mode: 0644]
server/sonar-db-dao/src/main/resources/org/sonar/db/telemetry/TelemetryMetricsSentMapper.xml [new file with mode: 0644]
server/sonar-db-dao/src/test/java/org/sonar/db/telemetry/TelemetryMetricsSentDtoTest.java [new file with mode: 0644]
server/sonar-db-dao/src/testFixtures/java/org/sonar/db/telemetry/TelemetryMetricsSentTesting.java [new file with mode: 0644]
server/sonar-process/src/main/java/org/sonar/process/ProcessProperties.java
server/sonar-server-common/build.gradle
server/sonar-telemetry/build.gradle
server/sonar-telemetry/src/it/java/org/sonar/telemetry/legacy/TelemetryDataLoaderImplIT.java
server/sonar-telemetry/src/it/java/org/sonar/telemetry/legacy/project/ProjectCppAutoconfigTelemetryProviderIT.java [deleted file]
server/sonar-telemetry/src/it/java/org/sonar/telemetry/legacy/user/TelemetryUserEnabledProviderIT.java [deleted file]
server/sonar-telemetry/src/it/java/org/sonar/telemetry/metrics/TelemetryMetricsLoaderIT.java [new file with mode: 0644]
server/sonar-telemetry/src/it/java/org/sonar/telemetry/project/ProjectCppAutoconfigTelemetryProviderIT.java [new file with mode: 0644]
server/sonar-telemetry/src/it/java/org/sonar/telemetry/user/TelemetryUserEnabledProviderIT.java [new file with mode: 0644]
server/sonar-telemetry/src/main/java/org/sonar/telemetry/Dimension.java
server/sonar-telemetry/src/main/java/org/sonar/telemetry/Granularity.java
server/sonar-telemetry/src/main/java/org/sonar/telemetry/TelemetryClient.java [new file with mode: 0644]
server/sonar-telemetry/src/main/java/org/sonar/telemetry/TelemetryDaemon.java [new file with mode: 0644]
server/sonar-telemetry/src/main/java/org/sonar/telemetry/TelemetryDataType.java
server/sonar-telemetry/src/main/java/org/sonar/telemetry/TelemetryNclocProvider.java [deleted file]
server/sonar-telemetry/src/main/java/org/sonar/telemetry/legacy/TelemetryClient.java [deleted file]
server/sonar-telemetry/src/main/java/org/sonar/telemetry/legacy/TelemetryDaemon.java [deleted file]
server/sonar-telemetry/src/main/java/org/sonar/telemetry/legacy/TelemetryData.java
server/sonar-telemetry/src/main/java/org/sonar/telemetry/legacy/TelemetryDataLoaderImpl.java
server/sonar-telemetry/src/main/java/org/sonar/telemetry/metrics/TelemetryMetricsLoader.java [new file with mode: 0644]
server/sonar-telemetry/src/main/java/org/sonar/telemetry/metrics/TelemetryMetricsMapper.java [new file with mode: 0644]
server/sonar-telemetry/src/main/java/org/sonar/telemetry/metrics/package-info.java [new file with mode: 0644]
server/sonar-telemetry/src/main/java/org/sonar/telemetry/metrics/schema/BaseMessage.java [new file with mode: 0644]
server/sonar-telemetry/src/main/java/org/sonar/telemetry/metrics/schema/InstallationMetric.java [new file with mode: 0644]
server/sonar-telemetry/src/main/java/org/sonar/telemetry/metrics/schema/LanguageMetric.java [new file with mode: 0644]
server/sonar-telemetry/src/main/java/org/sonar/telemetry/metrics/schema/Metric.java [new file with mode: 0644]
server/sonar-telemetry/src/main/java/org/sonar/telemetry/metrics/schema/ProjectMetric.java [new file with mode: 0644]
server/sonar-telemetry/src/main/java/org/sonar/telemetry/metrics/schema/UserMetric.java [new file with mode: 0644]
server/sonar-telemetry/src/main/java/org/sonar/telemetry/metrics/schema/package-info.java [new file with mode: 0644]
server/sonar-telemetry/src/main/java/org/sonar/telemetry/metrics/util/MessageSerializer.java [new file with mode: 0644]
server/sonar-telemetry/src/main/java/org/sonar/telemetry/metrics/util/SentMetricsStorage.java [new file with mode: 0644]
server/sonar-telemetry/src/main/java/org/sonar/telemetry/metrics/util/package-info.java [new file with mode: 0644]
server/sonar-telemetry/src/main/java/org/sonar/telemetry/user/TelemetryUserEnabledProvider.java
server/sonar-telemetry/src/test/java/org/sonar/telemetry/DimensionTest.java [new file with mode: 0644]
server/sonar-telemetry/src/test/java/org/sonar/telemetry/FakeServer.java [new file with mode: 0644]
server/sonar-telemetry/src/test/java/org/sonar/telemetry/GranularityTest.java [new file with mode: 0644]
server/sonar-telemetry/src/test/java/org/sonar/telemetry/TelemetryClientCompressionTest.java [new file with mode: 0644]
server/sonar-telemetry/src/test/java/org/sonar/telemetry/TelemetryClientTest.java [new file with mode: 0644]
server/sonar-telemetry/src/test/java/org/sonar/telemetry/TelemetryDaemonTest.java [new file with mode: 0644]
server/sonar-telemetry/src/test/java/org/sonar/telemetry/TelemetryDataTypeTest.java [new file with mode: 0644]
server/sonar-telemetry/src/test/java/org/sonar/telemetry/TelemetryNclocProviderTest.java [deleted file]
server/sonar-telemetry/src/test/java/org/sonar/telemetry/legacy/CloudUsageDataProviderTest.java
server/sonar-telemetry/src/test/java/org/sonar/telemetry/legacy/FakeServer.java [deleted file]
server/sonar-telemetry/src/test/java/org/sonar/telemetry/legacy/TelemetryClientCompressionTest.java [deleted file]
server/sonar-telemetry/src/test/java/org/sonar/telemetry/legacy/TelemetryClientTest.java [deleted file]
server/sonar-telemetry/src/test/java/org/sonar/telemetry/legacy/TelemetryDaemonTest.java [deleted file]
server/sonar-telemetry/src/test/java/org/sonar/telemetry/legacy/TelemetryDataJsonWriterTest.java
server/sonar-telemetry/src/test/java/org/sonar/telemetry/metrics/TelemetryMetricsMapperTest.java [new file with mode: 0644]
server/sonar-telemetry/src/test/java/org/sonar/telemetry/metrics/TestTelemetryBean.java [new file with mode: 0644]
server/sonar-telemetry/src/test/java/org/sonar/telemetry/metrics/schema/BaseMessageTest.java [new file with mode: 0644]
server/sonar-telemetry/src/test/java/org/sonar/telemetry/metrics/schema/InstallationMetricTest.java [new file with mode: 0644]
server/sonar-telemetry/src/test/java/org/sonar/telemetry/metrics/schema/LanguageMetricTest.java [new file with mode: 0644]
server/sonar-telemetry/src/test/java/org/sonar/telemetry/metrics/schema/ProjectMetricTest.java [new file with mode: 0644]
server/sonar-telemetry/src/test/java/org/sonar/telemetry/metrics/schema/UserMetricTest.java [new file with mode: 0644]
server/sonar-telemetry/src/test/java/org/sonar/telemetry/metrics/util/MessageSerializerTest.java [new file with mode: 0644]
server/sonar-telemetry/src/test/java/org/sonar/telemetry/metrics/util/SentMetricsStorageTest.java [new file with mode: 0644]
server/sonar-webserver/src/main/java/org/sonar/server/platform/platformlevel/PlatformLevel4.java
server/sonar-webserver/src/main/java/org/sonar/server/platform/telemetry/TelemetryNclocProvider.java [new file with mode: 0644]
server/sonar-webserver/src/test/java/org/sonar/server/platform/telemetry/TelemetryNclocProviderTest.java [new file with mode: 0644]