added a new api called otter_span_spdict_api to support nested spans without needing to pass span id across functions
example:-
function1() ->
otter_span_spdict_api:start("span1"),
....
function2(),
....
otter_span_spdict_api:log("span1 logs"),
....
otter_span_spdict_api:finish().
added a new api called otter_span_spdict_api to support nested spans without needing to pass span id across functions example:- function1() -> otter_span_spdict_api:start("span1"), .... function2(), .... otter_span_spdict_api:log("span1 logs"), .... otter_span_spdict_api:finish().
function2() -> otter_span_spdict_api:start("span2"), ... otter_span_spdict_api:log("span2 logs"), ... otter_span_spidct_api:finish().
here span2 will be inside span1 as a part instead of separate spans.