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

More consistent naming of Tracer.start_*() methods with other language implementations #1

Open
wants to merge 1 commit into
base: palazzem/scope-manager
Choose a base branch
from

Conversation

itsderek23
Copy link

  • Renames Tracer.start_manual() => Tracer.start_span() so it is more consistent with the Java and Go APIs. This is a clearer indication that a Span is returned.
  • Renames Tracer.start_active() => Tracer.start_active_scope() to reflect that a Scope is returned.

…ages

* Renames `Tracer.start_manual()` => `Tracer.start_span()` so it is more consistent with the Java and Go APIs. This is a clearer indication that a `Span` is returned.
* Renames `Tracer.start_active()` => `Tracer.start_active_scope()` to reflect that a `Scope` is returned.
@itsderek23
Copy link
Author

If this makes sense, I'll submit a PR on https://github.com/palazzem/basictracer-python/tree/palazzem/scope-manager-implementation and update the method names as well.

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