Skip to content

[Bug]: cannot set telemetry.telemetryLevel to "off" in settings.json. #5821

@MacWeber

Description

@MacWeber

Is there an existing issue for this?

  • I have searched the existing issues

OS/Web Information

  • Web Browser: any
  • Local OS: Linux
  • Remote OS: Linux
  • Remote Architecture: x64
  • code-server --version: 4.8.3 977b853 with Code 1.72.1

Steps to Reproduce

  1. Set up a DNS server and log incoming queries
  2. Set Code Server to use this DNS server
  3. Add the option "telemetry.telemetryLevel": "off" to ~/.local/share/code-server/User/settings.json.
  4. Reboot the server
  5. Open Code Server in a browser
  6. Watch the DNS server logs

Expected

No HTTP requests to any telemetry.

Actual

At least one request to v1.telemetry.coder.com happens during the server startup process and every hour afterwards. It seems the first telemetry request happens after Code Server is opened in a browser, and I am not sure if it is triggered if the app is not opened in a browser.

Logs

No response

Screenshot/Video

No response

Does this issue happen in VS Code or GitHub Codespaces?

  • I cannot reproduce this in VS Code.
  • I cannot reproduce this in GitHub Codespaces.

Are you accessing code-server over HTTPS?

  • I am using HTTPS.

Notes

The issue does not happen if launching code-server with the option --disable-telemetry.

Maybe this is a related issue: #5306

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingupstream:vscodeNeeds to be fixed upstream in VSCode

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions