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

Add set current span and monitor functions #7

Merged
merged 3 commits into from
Jul 12, 2024

Conversation

MvanDiemen
Copy link
Member

No description provided.

`Tracing.Monitor.monitor(Tracing.current_span())` is a bit on the long
side for something that should 99% of the times do the same thing. We
can add an extra function on `Tracing` and use the current span as
fallback if nothing is given.
We have the option to get the current span but not to set it, we can
also use the current_span function a bit more throughout Tracing.
Tracing has a few functions that cover the grounds of other functions
that are used. These can be altered to use Tracings own functions.
@MvanDiemen MvanDiemen merged commit d922f5d into main Jul 12, 2024
2 checks passed
@MvanDiemen MvanDiemen deleted the add_set_current_span_and_monitor_functions branch July 12, 2024 12:25
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