public abstract class ApplicationUsagesCollector extends FeatureUsagesCollector
Use it to create a collector which records IDE state.
To implement a new collector:getMetrics() and register collector in plugin.xml;SensitiveDataValidator;com.intellij.internal.statistic.actions.localWhitelist.AddTestGroupToLocalWhitelistAction
com.intellij.internal.statistic.actions.ShowStatisticsEventLogAction
RecordStateStatisticsEventLogAction
ProjectUsagesCollector,
FUCounterUsageLogger| Constructor and Description |
|---|
ApplicationUsagesCollector() |
| Modifier and Type | Method and Description |
|---|---|
FeatureUsageData |
getData() |
static java.util.Set<ApplicationUsagesCollector> |
getExtensions(com.intellij.internal.statistic.service.fus.collectors.UsagesCollectorConsumer invoker) |
java.util.Set<MetricEvent> |
getMetrics()
Implement this method to calculate metrics.
|
java.util.Set<UsageDescriptor> |
getUsages()
Deprecated.
use
getMetrics() |
getExtensions, getGroupId, getVersion, isValidpublic static java.util.Set<ApplicationUsagesCollector> getExtensions(com.intellij.internal.statistic.service.fus.collectors.UsagesCollectorConsumer invoker)
public java.util.Set<MetricEvent> getMetrics()
MetricEvent#eventId should indicate what we measure, e.g. "configured.vcs", "module.jdk".MetricEvent#data should contain the value of the measurement, e.g. {"name":"Git"}, {"version":"1.8", "vendor":"OpenJdk"}@Deprecated public java.util.Set<UsageDescriptor> getUsages()
getMetrics()public FeatureUsageData getData()