GitDiffMargin icon indicating copy to clipboard operation
GitDiffMargin copied to clipboard

Telemetry

Open laurentkempe opened this issue 4 years ago • 4 comments

Currently the statistics brought by Visual Studio Marketplace is only about the number of downloads. For example, there is no information about the Visual Studio version in which GitDiffMargin is installed.

Describe the solution you'd like Use Azure Application Insight REST API to log the version of Visual Studio used. See https://dev.applicationinsights.io/reference/post-metrics Use API Explorer https://dev.applicationinsights.io/apiexplorer/postMetrics

laurentkempe avatar Mar 27 '20 06:03 laurentkempe

Why use REST API when you have a .NET SDK that will do it for you?

tsahi avatar Jun 16 '20 14:06 tsahi

I would like to hear more about it @tsahi which .NET SDK do you talk about?

laurentkempe avatar Jun 16 '20 15:06 laurentkempe

You can start from here: https://docs.microsoft.com/en-us/azure/azure-monitor/app/console. there is also a newer package specific for non-HTTP application, but I haven't used it: https://docs.microsoft.com/en-us/azure/azure-monitor/app/worker-service

tsahi avatar Jun 16 '20 20:06 tsahi

Thanks, but this bring too much dependency which would be bundled with Git Diff Margin! That's exactly what I want to avoid, especially with the very low need I have.

laurentkempe avatar Jun 16 '20 21:06 laurentkempe