Skip to content

add wrap / unwrap helpers into an instrumentation helper library? #667

@toumorokoshi

Description

@toumorokoshi

We have a lot of instrumentations now that adhere to the BaseInstrumentor, and this pattern of wrapping functions with wrapt and unwrapping are quite common now:

https://github.com/open-telemetry/opentelemetry-python/pull/643/files#diff-4ac826b7b2b5271928612cf6d60c20aeR118

Should we be investing in a helper library to unwrap this? or maybe contribute upstream?

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