vscode-azuretools: `ITelemetryReporter.sendErrorTelemeryEvent` is mis-named

I understand that ITelemetryReporter.sendErrorTelemeryEvent is meant to send all sorts of telemetry events, not just events about errors. If my understanding is correct, then the name is bad. It is very confusing to read code that uses ITelemetryReporter and calls sendError() for telemetry that is not an error report.

Please rename the method back to sendTelemetryEvent.

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 22 (20 by maintainers)

Most upvoted comments

I donโ€™t know enough about your experimentation service to really comment on it, but seems fishy that the second we try to remove ITelemetryReporter thereโ€™s something new that just HAS to have it ๐ŸŸ๐Ÿ‘€๐Ÿ˜

At the moment, the only thing createTelemetryReporter really provides is the DebugReporter. Otherwise it just passes along the exact same TelemetryReporter from vscode-extension-telemetry. Is your main concern around DebugReporter?