Skip to content

Metrics endpoint has no timeout — response time grows unbounded under load #45

Description

@kriszyp

Problem

Under sustained high load (100 concurrent users, no think time), the GET /prometheus_exporter/metrics response time grows indefinitely — reaching 483 seconds within 8 minutes and still increasing. No timeout is enforced on this endpoint.

Fix

Add a request timeout (e.g., 60 seconds) to the metrics scrape handler so stuck requests are terminated and resources are released.

Status: In Progress in Jira.

🤖 Filed by Claude on behalf of Kris.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingfrom-jiraMigrated or originated from a Jira ticket

Type

No type

Fields

Priority

P1

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions