fix: erroneous high value for gateway received bytes metrics (#8978)
http.Request.ContentLength can be negative, which affects the gateway_s3_bytes_received value in Prometheus output. The commit only increases the value of the total received bytes in gateway mode when r.ContentLength is greater than zero.master
parent
c56c2f5fd3
commit
7d6766adc6
Loading…
Reference in new issue