microsoft / sarif-vscode-extension

SARIF Microsoft Visual Studio Code extension
MIT License
111 stars 49 forks source link

Implement a Telemetry Interface for Internal MSFT Windows OS Users for more robust telemetry/logging #342

Open HenokAddis opened 4 years ago

HenokAddis commented 4 years ago

When you investigate the developer experience around Static Analysis in WAVE, you’ll realize that WAVE is really a coordinator that kicks off a series of workflows that get consumed and engaged with in a separate extension – the Static Analysis Results Interchange Format (aka SARIF, full documentation) Viewer extension in Visual Studio and VSCode. Specifically, the only events we fire in WAVE today for static analysis can be found below (build invocation/completion):

The SARIF Viewer extensions should coordinate and collect telemetry on their own, but the issue is that for our internal developers we will not get telemetry associated with individuals, file paths, or other rich pieces of information that allow us to iterate. Also, as it stands, there is no telemetry being sent by the SARIF Viewers today at all. Enumerating the problems more clearly below:

What we hope to accomplish in this document:

HenokAddis commented 4 years ago

Below I’ve enumerated a proposal for a telemetry schema that we can use to begin firing information from the SARIF Viewer. Keeping custom event information inside of a DataJson makes it:

image