Closed williazz closed 5 months ago
Final changes:
initiatorType
because we are always manually setting the value navigation
or route_change
startTime
=0 because the route changes created by VirtualPageLoadTimer can have startTimes >= 0.type
Issue(non-blocking): currently, RUM will break if PerformanceAPI adds new accepted values the field type
because it has a strict enum. To prevent data loss, a future PR should add a type 'other', either here or via enrichment during ingestion.
It's necessary to keep the enums for data validation to keep cardinality low. Also, the same problem exists with initiatorType
for PerformanceResourceTiming.
Update the Navigation schema to exactly match PerformanceNavigationTiming in aws-rum-web 2.0. I have also cleaned up some tech debt, as highlighted in the comments.
Some callouts:
load
event because the PerformanceObserver checks the buffer. I kept the tests in case there's a regression.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.