Skip to content

Commit

Permalink
[0.75] [Telemetry] All features and bug fixes (#14314)
Browse files Browse the repository at this point in the history
* [Telemetry] Migration from AppInsights to 1DS (#13493)

* Draft of telemetry refactoring

* Better draft, including most (if not all?) properties

* Various fixes, it now compiles

* Refactor, and temporary commenting tests

* All tests passing! But will need to clean up a few things

* Polished some code, re-enabled some errorUtils tests

* Change files

* Update yarn.lock

* Let yarn lint:fix cook

* Simplifying

* Nit: ordering

* Avoid unnecessary JSON work

* nit

* Mostly placing some common props into Part A ext, plus adding/removing props

* Distinguish between deviceClass and nodePlatform

* Nit

* [Telemetry] Enable data uploading (#14039)

* Set instrumentation key

* Change files

* Nit: Minor lint fix

* [Telemetry] Expand field sanitization to codedError.data (#14161)

* Scrub PII from codedError, add unit test

* Nit: comment updates

* Lint fixes

* Change files

* Enhanced bug fix using recursion, added test field cases

* Lint fix

* Sanitize any, and test fixes

* Lint fix, again

* [Telemetry] Bug fix in `codedError.data` from `trackException()` (#14191)

* Bug fix

* Simplify fix, add unit test

* Change files

* Nit: change test description

* Manual change to add UseFabric (RnwNewArch not in 0.75)

* [Telemetry] Address package name limitations - Take 2 (#14259)

* Introducing package name processing

* Add trimming if string length > 100

* Change files

* Change files

* Update yarn.lock

* Lint fixes

* Add RnwNewArch
  • Loading branch information
danielayala94 authored Jan 29, 2025
1 parent 9f20b3f commit 7478775
Show file tree
Hide file tree
Showing 14 changed files with 751 additions and 617 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "none",
"comment": "Enables telemetry by migrating from AppInsights to 1DS",
"packageName": "@react-native-windows/telemetry",
"email": "[email protected]",
"dependentChangeType": "none"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "Introducing telemetry collection for 0.75",
"packageName": "react-native-windows",
"email": "[email protected]",
"dependentChangeType": "patch"
}
3 changes: 2 additions & 1 deletion packages/@react-native-windows/telemetry/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@
"dependencies": {
"@azure/core-auth": "1.5.0",
"@react-native-windows/fs": "0.75.2",
"@microsoft/1ds-core-js": "^4.3.0",
"@microsoft/1ds-post-js": "^4.3.0",
"@xmldom/xmldom": "^0.7.7",
"applicationinsights": "2.9.1",
"ci-info": "^3.2.0",
"envinfo": "^7.8.1",
"lodash": "^4.17.21",
Expand Down
Loading

0 comments on commit 7478775

Please sign in to comment.