mirror of
https://github.com/zr-hebo/sniffer-agent.git
synced 2025-09-19 18:19:20 +08:00
add query qps api
This commit is contained in:
@@ -9,6 +9,7 @@ import (
|
||||
|
||||
const (
|
||||
CAPTURE_PACKET_RATE = "capture_packet_rate"
|
||||
QPS = "qps"
|
||||
)
|
||||
|
||||
var (
|
||||
@@ -38,4 +39,5 @@ func init() {
|
||||
|
||||
func regsiterConfig() {
|
||||
configMap[CAPTURE_PACKET_RATE] = catpurePacketRate
|
||||
configMap[QPS] = &qpsConfig{}
|
||||
}
|
||||
|
Reference in New Issue
Block a user