Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TelemetryManager

Hierarchy

  • TelemetryManager

Constructors

constructor

Properties

Private configuration

configuration: Configuration

Private displayedTips

displayedTips: Array<number> = []

Private enumerators

enumerators: Map<MetricName, Set<string>> = new Map()

Private hits

hits: Map<MetricName, Map<string, number>> = new Map()

isNew

isNew: boolean

Private nextTips

nextTips: number = 0

Private shouldCommitTips

shouldCommitTips: boolean = false

shouldShowTips

shouldShowTips: boolean

Private values

values: Map<MetricName, Set<string>> = new Map()

Methods

Private applyChanges

  • applyChanges(): void

commitTips

  • commitTips(): void

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

reportInstall

  • reportInstall(nodeLinker: string): void

reportPackageExtension

  • reportPackageExtension(value: string): void

reportPluginName

  • reportPluginName(value: string): void

reportProject

Private reportValue

  • reportValue(metric: MetricName, value: string): void

reportVersion

  • reportVersion(value: string): void

reportWorkspaceCount

  • reportWorkspaceCount(count: number): void

selectTip

  • selectTip(allTips: Array<Tip | null>): null | object

Private sendReport

  • sendReport(accountId: string): boolean

Private startBuffer

  • startBuffer(): void

Generated using TypeDoc