Skip to content

Commit 8507010

Browse files
committed
disable index telemetry
1 parent 4166979 commit 8507010

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

packages/core/src/amazonq/lsp/lspController.ts

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -354,14 +354,15 @@ export class LspController {
354354
credentialStartUrl: buildIndexConfig.startUrl,
355355
})
356356
} else {
357-
getLogger().error(`LspController: Failed to build index of project`)
358-
telemetry.amazonq_indexWorkspace.emit({
359-
duration: performance.now() - start,
360-
result: 'Failed',
361-
amazonqIndexFileCount: 0,
362-
amazonqIndexFileSizeInMB: 0,
363-
reason: `Unknown`,
364-
})
357+
// TODO: Re-enable this code path for LSP 0.1.20+
358+
// getLogger().error(`LspController: Failed to build index of project`)
359+
// telemetry.amazonq_indexWorkspace.emit({
360+
// duration: performance.now() - start,
361+
// result: 'Failed',
362+
// amazonqIndexFileCount: 0,
363+
// amazonqIndexFileSizeInMB: 0,
364+
// reason: `Unknown`,
365+
// })
365366
}
366367
} catch (e) {
367368
getLogger().error(`LspController: Failed to build index of project`)

0 commit comments

Comments
 (0)