Skip to content

Silent opt-out telemetry is harmful #462

@clason

Description

@clason

Lua-language-server has a telemetry function that is enabled by default.

While I understand that telemetry is useful and that making it opt-in will significantly limit that usefulness (because almost no-one will actively enable it), in times of increasing concern for privacy and data autonomy, this kind of silent telemetry (enabled by default without notification, no prominent mention in the README) will needlessly harm users' trust in the project. (To be clear, I'm not accusing you of bad faith here! I'm just describing how people react to such a feature in general.)

I therefore suggest the following: If the telemetry.enable config key is not set (to either true or false), lua-language server should print a message on startup saying

  1. that the project uses telemetry,
  2. where to find information about the collected data (what and where),
  3. how to disable it (or enable it to remove the notice).

In addition, it might be better to put the whole block https://github.com/sumneko/lua-language-server/blob/6ba92a465c2686fe421fc398251d45c5d4381061/script/service/telemetry.lua#L62-L87 behind a if config.config.telemetry.enable guard so the timers aren't even run if the setting is not enabled.

Metadata

Metadata

Assignees

No one assigned

    Labels

    telemetryRelated to the telemetry feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions