laurentkempe / GitDiffMargin

Git Diff Margin displays live Git changes of the currently edited file on Visual Studio margin and scroll bar. Supports Visual Studio 2012 through Visual Studio 2022
https://marketplace.visualstudio.com/items?itemName=LaurentKempe.GitDiffMargin
MIT License
289 stars 39 forks source link

Telemetry #312

Open laurentkempe opened 4 years ago

laurentkempe commented 4 years ago

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

tsahi commented 4 years ago

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

laurentkempe commented 4 years ago

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

tsahi commented 4 years ago

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

laurentkempe commented 4 years ago

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.