Adds instrumentation for the JavaScriptBootstrapHandler, which adds a span and updates the root span to contain the route for the current browser location, rather than the request URL.
It seems this handler is only called when the bootstrap actually happens, so there was no need to conditionally create the span.
This is only called when bootstrap happens because it is the last handler in the list as it should only really receive that one call for when the app is bootstrapped.
Description
Adds instrumentation for the
JavaScriptBootstrapHandler
, which adds a span and updates the root span to contain the route for the current browser location, rather than the request URL.It seems this handler is only called when the bootstrap actually happens, so there was no need to conditionally create the span.
Closes #3