Skip to content

Profiling decorator overrides decorated function's name. #51

Open
@mcteo

Description

@mcteo

Hi all,

Found a small issue that has been bothering me for a while, so finally took the time to create an issue + PR.

When you use the with_lambda_profiler decorator, it overrides the name of the function with profiler_decorate. Normally this isn't very visible, but if you are using XRay as well, it becomes painfully obvious, as per this screenshot:

Cursor_and_CloudWatch___us-west-2

The fix is minor, so I'll just create a PR for it here now.

Thanks

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