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

Feature Request: Decorator for adding Trace names #297

Closed
flyinbutrs opened this issue Dec 28, 2018 · 0 comments · Fixed by #325
Closed

Feature Request: Decorator for adding Trace names #297

flyinbutrs opened this issue Dec 28, 2018 · 0 comments · Fixed by #325

Comments

@flyinbutrs
Copy link

flyinbutrs commented Dec 28, 2018

As I'm marking up my functions for tracing, I find my self often doing this:

def function_of_app():
  with context.iopipe.mark('function_name'):
     # function code

It would be very nice to be able to do something like this:

@iopipe.mark('function_name')
def function_of_app():
   # function code
kolanos added a commit to kolanos/iopipe-python that referenced this issue Jun 7, 2019
kolanos added a commit that referenced this issue Jun 11, 2019
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 a pull request may close this issue.

1 participant