The PR description that follows is mostly from #13493, as the other PR just sets the instrumentation key.
Type of Change
New feature.
Why
Enable posting telemetry data to have information that will allow us to take informed decisions on what areas of RNW we should focus, identify customer pains, RNW usage, etc.
Resolves #10473
Resolves #10142
Resolves #10141
What
Refactored Telemetry class, by changing all App Insights SDK references to 1DS core+post APIs. The most noticeable changes are:
Replaced TelemetryClient with AppInsightsCore.
Refactored post event logic to craft a telemetry item object.
Manually parsed stack trace into decomposed frames, as 1DS doesn't provide such functionality (which AppInsights does).
Refactored some of the testing code to account for the changes in the Telemetry class.
Testing
All E2E tests on telemetry.test.ts are passing after the refactoring.
All other telemetry tests are passing after the refactoring as well.
Changelog
Yes
Enables telemetry collection to monitor RNW reliability, performance, and usage.
Description
Combo of PRs to backport into 0.76:
13493
14039 (one line change)
The PR description that follows is mostly from #13493, as the other PR just sets the instrumentation key.
Type of Change
New feature.
Why
Enable posting telemetry data to have information that will allow us to take informed decisions on what areas of RNW we should focus, identify customer pains, RNW usage, etc.
Resolves #10473 Resolves #10142 Resolves #10141
What
Testing
All E2E tests on telemetry.test.ts are passing after the refactoring. All other telemetry tests are passing after the refactoring as well.
Changelog
Yes
Enables telemetry collection to monitor RNW reliability, performance, and usage.
Microsoft Reviewers: Open in CodeFlow