Make TrustedProjectsStatistics available for MPS

GitOrigin-RevId: 60f204ebd95191d414f60b0f9e1f877e8e8c38c9
This commit is contained in:
Elena Shaverdova
2024-09-19 21:14:10 +02:00
committed by intellij-monorepo-bot
parent 9b68cf8cc5
commit 4ff2f608cf

View File

@@ -6,8 +6,13 @@ import com.intellij.internal.statistic.eventLog.events.EventFields
import com.intellij.internal.statistic.eventLog.events.EventId
import com.intellij.internal.statistic.eventLog.events.EventId1
import com.intellij.internal.statistic.service.fus.collectors.CounterUsagesCollector
import org.jetbrains.annotations.ApiStatus
internal object TrustedProjectsStatistics : CounterUsagesCollector() {
/*
* The object shouldn't be internal as it's used by MPS.
*/
@ApiStatus.Internal
object TrustedProjectsStatistics : CounterUsagesCollector() {
val GROUP: EventLogGroup = EventLogGroup("trusted_projects", 3)
val NEW_PROJECT_OPEN_OR_IMPORT_CHOICE: EventId1<OpenUntrustedProjectChoice> = GROUP.registerEvent("open_new_project",