Skip to content

_lock not found on metric #1140

@zack-littke-smith-ai

Description

@zack-littke-smith-ai

Hello! I hit an issue with a metric which has no labels invoking clear(). We fail on self._lock no existing. Turns out it was not created because there are no label values here, we actually have no lock on the instance later when we clear it. Why don't we always create this lock?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions