mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 15:19:59 +07:00
IJ-MR-178750 JCP-710 Implement first version of JCP AI analytics sender
(cherry picked from commit 3c42739b57ae734cf070d362f4c13bc35e4f42fa) IJ-MR-180115 GitOrigin-RevId: 290fd315b60c82f2c16e00cb427e2a716b5a5703
This commit is contained in:
committed by
intellij-monorepo-bot
parent
2faadb3f2f
commit
04017e45a3
@@ -39,6 +39,11 @@ class MLEventLoggerProvider : StatisticsEventLoggerProvider(
|
||||
return isRecordEnabled() && StatisticsUploadAssistant.isSendAllowed()
|
||||
}
|
||||
|
||||
override fun isLoggingAlwaysActive(): Boolean {
|
||||
return true // necessary for JCP AI analytics, otherwise the events from this logger are not forwarded to [statistic.eventLog.externalListenerProvider]
|
||||
// also take a look at [com.intellij.ml.llm.core.statistics.fus.jcp.JcpEventsInterceptor]
|
||||
}
|
||||
|
||||
companion object {
|
||||
const val ML_RECORDER_ID = "ML"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user