-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Use sendTelemetryErrorEvent, preserve properties but redact errors #14453
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
Conversation
Codecov Report
@@ Coverage Diff @@
## main #14453 +/- ##
=======================================
Coverage 59.19% 59.19%
=======================================
Files 720 720
Lines 40211 40213 +2
Branches 5829 5829
=======================================
+ Hits 23802 23804 +2
Misses 15147 15147
Partials 1262 1262
Continue to review full report at Codecov.
|
64bf018
to
9ec32d9
Compare
Kudos, SonarCloud Quality Gate passed!
|
The
sendTelemetryException
API seems to send the errors nowhere we can access. But we can revert tosendTelemetryErrorEvent
and specify exactly which properties come from the error to obtain the same redaction behavior: https://github.com/Microsoft/vscode-extension-telemetry#sending-errors-as-eventsHas a news entry file (remember to thank yourself!).Appropriate comments and documentation strings in the code.Has sufficient logging.Unit tests & system/integration tests are added/updated.Test plan is updated as appropriate.package-lock.json
has been regenerated by runningnpm install
(if dependencies have changed).The wiki is updated with any design decisions/details.