opentelemetry-js
opentelemetry-js copied to clipboard
Give us the ability to set default option on SugaredTracer
trafficstars
Is your feature request related to a problem? Please describe.
I've just seen the new Tracer in the experiments (SugaredTracer). However, I'd like to avoid duplicating the function onException passed as parameter when using the tracer to start a span.
Describe the solution you'd like
I would like a way to set default options especially for the function onException instead of passing the same function every time when calling startSpan(...) & startActiveSpan(...)
Describe alternatives you've considered
NA
Additional context
NA
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days.
This issue was closed because it has been stale for 14 days with no activity.