Adds more attributes to span just before ending it
private
_addHeaders
Add headers
private
_applyAttributesAfterFetch
private
_clearResources
Clears the resource timings and all resources assigned with spans
when FetchPluginConfig.clearTimingResources is
set to true (default false)
private
_createSpan
Creates a new span
private
_endSpan
Finish span, add attributes, network events etc.
private
_findResourceAndAddNetworkEvents
Finds appropriate resource and add network events to the span
private
_getConfig
private
_markResourceAsUsed
Marks certain [resource]PerformanceResourceTiming when information
from this is used to add events to span.
This is done to avoid reusing the same resource again for next span
private
_patchConstructor
Patches the constructor of fetch
private
_prepareSpanData
Prepares a span data - needed later for matching appropriate network
resources