[vcs-log] increment collectors version

FUS-397, FUS-411

GitOrigin-RevId: e25bd1dee6a38bdbe968facf71b842438b7e062a
This commit is contained in:
Julia Beliaeva
2019-07-02 06:52:16 +03:00
committed by intellij-monorepo-bot
parent d65feeba27
commit cf71675df6
4 changed files with 15 additions and 1 deletions
@@ -29,7 +29,7 @@
<statistics.projectUsagesCollector implementation="com.intellij.vcs.log.statistics.VcsLogIndexProjectStatisticsCollector"/>
<statistics.applicationUsagesCollector implementation="com.intellij.vcs.log.statistics.VcsLogIndexApplicationStatisticsCollector"/>
<statistics.counterUsagesCollector groupId="vcs.log.trigger" version="1"/>
<statistics.counterUsagesCollector groupId="vcs.log.trigger" version="2"/>
<statistics.validation.customWhiteListRule implementation="com.intellij.vcs.log.statistics.VcsLogTriggerEventIdValidator"/>
<statistics.validation.customWhiteListRule implementation="com.intellij.vcs.log.statistics.VcsLogFilterNameValidator"/>
<statistics.validation.customWhiteListRule implementation="com.intellij.vcs.log.statistics.VcsLogHighlighterIdValidator"/>
@@ -138,4 +138,9 @@ public class VcsLogFeaturesCollector extends ProjectUsagesCollector {
public String getGroupId() {
return "vcs.log.ui";
}
@Override
public int getVersion() {
return 2;
}
}
@@ -45,6 +45,8 @@ class VcsLogIndexApplicationStatisticsCollector : ApplicationUsagesCollector() {
private fun getBigRepositoriesList() = getServiceIfCreated<VcsLogBigRepositoriesList>(VcsLogBigRepositoriesList::class.java)
override fun getGroupId(): String = "vcs.log.index.application"
override fun getVersion(): Int = 2
}
class VcsLogIndexProjectStatisticsCollector : ProjectUsagesCollector() {
@@ -72,6 +74,8 @@ class VcsLogIndexProjectStatisticsCollector : ProjectUsagesCollector() {
private fun getIndexCollector(project: Project) = getServiceIfCreated<VcsLogIndexCollector>(project, VcsLogIndexCollector::class.java)
override fun getGroupId(): String = "vcs.log.index.project"
override fun getVersion(): Int = 2
}
class VcsLogIndexCollectorState {
@@ -81,4 +81,9 @@ public class VcsLogRepoSizeCollector extends ProjectUsagesCollector {
public String getGroupId() {
return "vcs.log.data";
}
@Override
public int getVersion() {
return 2;
}
}