change throw_package_rate to capture_package_rate

This commit is contained in:
hebo
2019-09-10 17:58:34 +08:00
parent b13f9eec6c
commit 03c0a3effd
6 changed files with 33 additions and 28 deletions

View File

@@ -82,10 +82,10 @@ func outletSetConfig(resp http.ResponseWriter, req *http.Request) {
mp.Err = SetConfig(ep.ConfigName, ep.Value)
}
func GetTCPThrowPacketRate() float64 {
return throwPacketRate.tcpTPR
func GetTCPCapturePacketRate() float64 {
return catpurePacketRate.tcpTPR
}
func GetMysqlThrowPacketRate() float64 {
return throwPacketRate.mysqlTPR
func GetMysqlCapturePacketRate() float64 {
return catpurePacketRate.mysqlTPR
}