Add additional optOut key #54
Labels
good first issue
Issues that are easily implemented for newcomers to the project
help wanted
Issues identified as good community contribution opportunities
This is a feature request to add an additional, optional
optOut
key. My understanding is that the recommended way to use this extension is to ensure two configuration options are enabled before sending any telemetry. The first one is the globaltelemetry.telemetryEnabled
option and the second one is specific to your extension. This enables someone to opt out of your telemetry while still opting in to vscode's global telemetry.My proposal is to add an extra optional string parameter to the
TelemetryReporter
constructor. This parameter points to a config option that must also be enabled in order for telemetry to be sent.The change is fairly straight forward and I'm happy to submit a PR if you think this is a reasonable direction to go.
The text was updated successfully, but these errors were encountered: