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 Span and Tracer macro implementations #56

Closed
wants to merge 1 commit into from

Conversation

iRevive
Copy link
Contributor

@iRevive iRevive commented Oct 25, 2022

I'm trying to split #37 into smaller pieces to simplify the review process.

Notables changes:

  • Preserve laziness via macros (SpanMacro and TracerMacro)
  • Rename Span#setAttribute -> Span#addAttribute
  • Rename Span#createAuto -> Span#start
  • Rename Span#startManual -> Span#startUnmanaged
  • Reorder elements in alphabetic order (where it makes sense)

@iRevive
Copy link
Contributor Author

iRevive commented Nov 19, 2022

@rossabaker could you take a look once you have time, please?

@rossabaker
Copy link
Member

After #37, is there anything here that's unique, or is this just a strict subset of that?

@iRevive
Copy link
Contributor Author

iRevive commented Jan 23, 2023

It's a subset of #37.

@iRevive iRevive closed this Jan 23, 2023
@iRevive iRevive deleted the tracing-api-macro branch January 23, 2023 08:03
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.

2 participants