Skip to content

Add additional optOut key #54

@aeisenberg

Description

@aeisenberg

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 global telemetry.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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueIssues that are easily implemented for newcomers to the projecthelp wantedIssues identified as good community contribution opportunities

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions