Skip to content

Hardcode instrumentation name #4173

@xrmx

Description

@xrmx

Instead of relying on __name__ when we get tracers / meters / loggers we should hardcode the instrumentation names so that it's not dependent on the file the code is. A good candidate where to add a variable containing that may be the package.py file. We should also add tests to avoid changing that by mistake.

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