feat(core): Pass name
& attributes
to tracesSampler
#10426
Merged
name
& attributes
to tracesSampler
#10426