Fix group for netstat collector

This commit is contained in:
Thomas Roehl 2022-02-11 18:18:10 +01:00
parent 23d13b2ceb
commit bd246bdacf

View File

@ -26,7 +26,7 @@ type NetstatCollector struct {
func (m *NetstatCollector) Init(config json.RawMessage) error { func (m *NetstatCollector) Init(config json.RawMessage) error {
m.name = "NetstatCollector" m.name = "NetstatCollector"
m.setup() m.setup()
m.meta = map[string]string{"source": m.name, "group": "network"} m.meta = map[string]string{"source": m.name, "group": "Network"}
m.matches = map[int]string{ m.matches = map[int]string{
1: "net_bytes_in", 1: "net_bytes_in",
9: "net_bytes_out", 9: "net_bytes_out",