mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
Add analytics
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
package net.openhft.chronicle.map.internal;
|
||||
|
||||
import net.openhft.chronicle.core.analytics.AnalyticsFacade;
|
||||
import net.openhft.chronicle.core.pom.PomProperties;
|
||||
|
||||
public enum AnalyticsHolder {;
|
||||
|
||||
// Todo: VERSION is "unknown" for some reason
|
||||
private static final String VERSION = PomProperties.version("net.openhft", "chronicle-map");
|
||||
|
||||
private static final AnalyticsFacade ANALYTICS = AnalyticsFacade.standardBuilder(
|
||||
"G-TDTJG5CT6G",
|
||||
"J8qsWGHgQP6CLs43mQ10KQ",
|
||||
VERSION)
|
||||
.withReportDespiteJUnit()
|
||||
.build();
|
||||
|
||||
public static AnalyticsFacade instance() {
|
||||
return ANALYTICS;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user