-
-
Notifications
You must be signed in to change notification settings - Fork 384
Description
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
- that the project uses telemetry,
- where to find information about the collected data (what and where),
- 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.