Skip to content

Handle timeouts in Pushgateway.push() properly #2934

@nforro

Description

@nforro

In case the pushgateway pod gets stuck, push_to_gateway() in all workers will raise unhandled TimeoutError. Fix that.

push_to_gateway(
self.pushgateway_address,
job=self.worker_name,
registry=self.registry,
)

Sentry issue: https://red-hat-it.sentry.io/issues/7081901299

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/generalNot tied to a specific areacomplexity/single-taskRegular task; should be done within dayskind/bugAn unexpected problem or behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions