Fixed throughput multiplied by 8 (#8576)

This commit is contained in:
GabrieleDeri 2024-07-30 10:15:11 +02:00 committed by GitHub
parent e7430f97ea
commit 0c2fba604a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -253,7 +253,7 @@ for _, value in ipairs(flows_stats.flows) do
record["throughput"] = {
type = throughput_type,
pps = value["throughput_pps"],
bps = 8 * (value["throughput_bps"] or 0),
bps = (value["throughput_bps"] or 0),
trend = value["throughput_trend_" .. throughput_type]
}
record["application"] = {