Class PluginMetricsResolver
Methods
Private createAndSetMetric
- createAndSetMetric(pluginID: string, method: string, time: number, successful: boolean): void
Parameters
pluginID: string
method: string
time: number
successful: boolean
Returns void
resolveRequest
- resolveRequest(pluginID: string, method: string, request: any): Promise<any>
Parameters
pluginID: string
method: string
request: any
Returns Promise<any>
This class helps resolve language server requests into successes or failures and sends the data to the metricsExtractor