public class UiInfoUsageCollector extends ApplicationUsagesCollector
Constructor and Description |
---|
UiInfoUsageCollector() |
Modifier and Type | Method and Description |
---|---|
static java.util.Set<MetricEvent> |
getDescriptors() |
java.lang.String |
getGroupId() |
java.util.Set<MetricEvent> |
getMetrics()
Implement this method to calculate metrics.
|
int |
getVersion()
Increment collector version if any changes in collector logic were implemented.
|
getData, getExtensions, getUsages
getExtensions, isValid
public java.lang.String getGroupId()
getGroupId
in class FeatureUsagesCollector
public int getVersion()
FeatureUsagesCollector
getVersion
in class FeatureUsagesCollector
public java.util.Set<MetricEvent> getMetrics()
ApplicationUsagesCollector
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"}getMetrics
in class ApplicationUsagesCollector
public static java.util.Set<MetricEvent> getDescriptors()