Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to pass telemetry level in user config #1441

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion packages/metals-vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,17 @@
"type": "boolean",
"default": false,
"markdownDescription": "Once in a day, notify if there are new server releases (including snapshots)"
},
"metals.telemetryLevel": {
"type": "string",
"enum": [
"off",
"crash",
"error",
"all"
],
"default": "all",
"markdownDescription": "Control what kind of telemetry events can be sent to maintainers of Metals.\n\nWith `off` no telemetry data would be sent.\n\n The minimal recommended level is `crash` which would collect diagnostic information when Metals upon fatal failure, allowing us to understand why the problem occurred.\n\n When using `error` level both crashes and other unexpected, but non-fatal errors would be reported. Errors can contain anonymized and obfuscated sources allowing us to reproduce some of the issues - these would be included only when would are able to correctly remove any original names/types from the code, otherwise, sources would be excluded from reports.\n\nDefaults to `all` allowing us to collect all information including how features are used to help us prioritize future improvements."
}
}
},
Expand Down Expand Up @@ -1088,4 +1099,4 @@
"extensionPack": [
"scala-lang.scala"
]
}
}
Loading