Skip to content

added new api otter_span_spdict_api to support nested spans for better tracing#22

Open
vishnureddy7 wants to merge 1 commit intoBluehouse-Technology:masterfrom
vishnureddy7:otter_span_spdict_api
Open

added new api otter_span_spdict_api to support nested spans for better tracing#22
vishnureddy7 wants to merge 1 commit intoBluehouse-Technology:masterfrom
vishnureddy7:otter_span_spdict_api

Conversation

@vishnureddy7
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant