devhome icon indicating copy to clipboard operation
devhome copied to clipboard

Create centralized infrastructure and UX for enabling extension telemetry

Open adrastogi opened this issue 1 year ago • 1 comments

Suggested new feature or improvement

Dev Home should have APIs and UI (e.g., end-user control mechanisms) for helping manage any data collection done by extensions.

Scenario

Extension authors may have a need to log diagnostics to better understand the usage and health of their extensions. Rather than having each extension implement their own solutions for things like managing user opt-in / out-out, it'd be better to have Dev Home provide a common pattern for this. (Folks implementing extensions could then choose whatever technology option they want- but at least this aspect of the experience would be consistent.)

Additional details

A motivating use case here is for Quickstart Playground. We get some level of diagnostics from Dev Home directly, but there are more detailed pieces of data we'd want to report from the Azure extension (that reporting would be unblocked by this feature).

adrastogi avatar Jun 27 '24 22:06 adrastogi

The Microsoft Game Dev Extension is also interested in this functionality; a possible model that can be followed would be how VS code handles extension telemetry. This includes VS code having a main setting the extensions must respect if it disables telemetry.

Ideally there would be documentation on what extensions should offer regarding telemetry opt out.

MattHyman avatar Jul 25 '24 20:07 MattHyman