HarperFast / HarperFast/prometheus-exporter

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

Open
#45 0 comments 0 reactions 1 assignee Claimed by @kriszyp View on GitHub
bug from-jira
Dominant language
JavaScript
Stars
3
Forks
2
PR merge metrics
No merged PRs in 30d

Description

## 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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.