Add an option that allows users to opt out of resource.* span creation.
Possible typings:
trackResources?: boolean <— preferred
trackResources?: (ctx) => boolean
trackResources?: {scripts?: boolean, styles?: boolean, images?: boolean, other?: boolean}