aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-telemetry-core
diff options
context:
space:
mode:
authorMatteo Mara <matteo.mara@sonarsource.com>2024-07-17 17:09:08 +0200
committersonartech <sonartech@sonarsource.com>2024-07-24 20:02:48 +0000
commit9258d5846d5e0947a7ff7813751224af537b20ee (patch)
treeeddc43e41902229945934b835d9f34b8774688b4 /server/sonar-telemetry-core
parent0ce62a09539920b477873c2c26e9a6d2fc62a15e (diff)
downloadsonarqube-9258d5846d5e0947a7ff7813751224af537b20ee.tar.gz
sonarqube-9258d5846d5e0947a7ff7813751224af537b20ee.zip
SONAR-22479 Added new upgrade related telemetry metrics for the installation dimension
Diffstat (limited to 'server/sonar-telemetry-core')
-rw-r--r--server/sonar-telemetry-core/src/main/java/org/sonar/telemetry/core/TelemetryDataProvider.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/server/sonar-telemetry-core/src/main/java/org/sonar/telemetry/core/TelemetryDataProvider.java b/server/sonar-telemetry-core/src/main/java/org/sonar/telemetry/core/TelemetryDataProvider.java
index b29fec4057b..47054aece8e 100644
--- a/server/sonar-telemetry-core/src/main/java/org/sonar/telemetry/core/TelemetryDataProvider.java
+++ b/server/sonar-telemetry-core/src/main/java/org/sonar/telemetry/core/TelemetryDataProvider.java
@@ -76,4 +76,8 @@ public interface TelemetryDataProvider<T> {
default Map<String, T> getUuidValues() {
throw new IllegalStateException("Not implemented");
}
+
+ default void destroy() {
+ // this method does nothing by default it is used to perform cleanup tasks if needed
+ }
}