Skip to content

Feature Request: Decorator for adding Trace names #297

@flyinbutrs

Description

@flyinbutrs

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions