[GH-ISSUE #5282] Traffic metrics not updated in real-time for some proxies #4078

Closed
opened 2026-05-05 14:35:00 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @AkbarAsghari on GitHub (Apr 8, 2026).
Original GitHub issue: https://github.com/fatedier/frp/issues/5282

Describe the feature request

Traffic metrics not updated in real-time for some proxies

Hi,

When enabling Prometheus metrics in FRP, traffic stats for some proxies (especially long-lived TCP connections) are not updated frequently. Instead, they remain unchanged for a long time and then suddenly jump by a large amount (e.g., hundreds of MB or more).

This makes real-time monitoring difficult.

Reducing Prometheus scrape_interval does not help, so it seems metrics are buffered internally and only flushed occasionally.

It would be helpful to have more frequent or configurable updates for traffic metrics.

Thanks 🙏

Describe alternatives you've considered

No response

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @AkbarAsghari on GitHub (Apr 8, 2026). Original GitHub issue: https://github.com/fatedier/frp/issues/5282 ### Describe the feature request Traffic metrics not updated in real-time for some proxies Hi, When enabling Prometheus metrics in FRP, traffic stats for some proxies (especially long-lived TCP connections) are not updated frequently. Instead, they remain unchanged for a long time and then suddenly jump by a large amount (e.g., hundreds of MB or more). This makes real-time monitoring difficult. Reducing Prometheus scrape_interval does not help, so it seems metrics are buffered internally and only flushed occasionally. It would be helpful to have more frequent or configurable updates for traffic metrics. Thanks 🙏 ### Describe alternatives you've considered _No response_ ### Affected area - [ ] Docs - [ ] Installation - [x] Performance and Scalability - [ ] Security - [x] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
gitea-mirror 2026-05-05 14:35:00 -06:00
Author
Owner

@github-actions[bot] commented on GitHub (Apr 23, 2026):

Issues go stale after 14d of inactivity. Stale issues rot after an additional 3d of inactivity and eventually close.

<!-- gh-comment-id:4301009668 --> @github-actions[bot] commented on GitHub (Apr 23, 2026): Issues go stale after 14d of inactivity. Stale issues rot after an additional 3d of inactivity and eventually close.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#4078
No description provided.