mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[devkit] IJPL-185139: Distinguish internal users
(cherry picked from commit ccf12d04e56ebdb96ead286f59b23ec0c99a18f9) IJ-CR-197299 GitOrigin-RevId: 8e8b7c2fd6c41f04bb9f96961b1de76667b46515
This commit is contained in:
committed by
intellij-monorepo-bot
parent
6f27695171
commit
43be97cc9b
@@ -24,6 +24,7 @@ import com.intellij.ide.starters.shared.StarterLanguage
|
||||
import com.intellij.ide.starters.shared.StarterProjectType
|
||||
import com.intellij.ide.starters.shared.hyperLink
|
||||
import com.intellij.internal.statistic.eventLog.fus.MachineIdManager
|
||||
import com.intellij.internal.statistic.eventLog.validator.storage.persistence.EventLogMetadataSettingsPersistence
|
||||
import com.intellij.internal.statistic.utils.StatisticsUploadAssistant
|
||||
import com.intellij.openapi.application.ApplicationInfo
|
||||
import com.intellij.openapi.application.ApplicationNamesInfo
|
||||
@@ -168,6 +169,7 @@ internal open class IdePluginModuleWebBasedBuilder : WebStarterModuleBuilder() {
|
||||
if (StatisticsUploadAssistant.isCollectAllowed()) {
|
||||
MachineIdManager.getAnonymizedMachineId("ij-plugin-generator")?.let { userId ->
|
||||
it.setRequestProperty("X-Machine-ID", userId)
|
||||
it.setRequestProperty("X-JetBrains-Internal-User", EventLogMetadataSettingsPersistence.getInstance().isInternal.toString())
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user