Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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