Class TelemetryManager
Properties
Private enumerators
enumerators
: Map<MetricName, Set<string>> = new Map()
Private hits
hits
: Map<MetricName, Map<string, number>> = new Map()
Methods
Private getRegistryPath
- getRegistryPath(): string & object
reportCommandName
- reportCommandName(value: string): void
reportDependencyCount
- reportDependencyCount(count: number): void
Private reportEnumerator
- reportEnumerator(metric: MetricName, value: string): void
Private reportHit
- reportHit(metric: MetricName, extra?: string): void
-
Parameters
-
-
Default value extra: string = `*`
Returns void
reportInstall
- reportInstall(nodeLinker: string): void
reportPackageExtension
- reportPackageExtension(value: string): void
reportPluginName
- reportPluginName(value: string): void
Private reportValue
- reportValue(metric: MetricName, value: string): void
reportVersion
- reportVersion(value: string): void
reportWorkspaceCount
- reportWorkspaceCount(count: number): void
Private sendReport
- sendReport(accountId: string): void