mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #4651] The Prometheus metrics for traffic are inaccurate. #3675
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#3675
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @BQsummer on GitHub (Jan 28, 2025).
Original GitHub issue: https://github.com/fatedier/frp/issues/4651
Bug Description
The Prometheus metrics for traffic are inaccurate, such as frp_server_traffic_in / frp_server_traffic_out.
I used FRP to connect to a remote desktop for several hours. Below is the server's traffic monitoring, but these two metrics have hardly changed.
frpc Version
0.61.1
frps Version
0.61.1
System Architecture
client is windows 11/amd64, server is ubuntu 24.04/amd64
Configurations
frps.toml
bindPort = 7000
enablePrometheus = true
webServer.addr = "0.0.0.0"
webServer.port = 17600
Logs
No response
Steps to reproduce
...
Affected area
@fatedier commented on GitHub (Feb 7, 2025):
Currently, traffic on this connection is only counted when the connection is closed.