OptionalnameOrOptions: string | TracedOptionstraced(fn, name?) returns fn wrapped in withSpan. @traced() / @traced("name") /
@traced({ name, attributes, kind }) is a method decorator (standard and experimentalDecorators).
OptionalnameOrOptions: string | TracedOptions
traced(fn, name?)returnsfnwrapped in withSpan.@traced()/@traced("name")/@traced({ name, attributes, kind })is a method decorator (standard andexperimentalDecorators).