From 23d13b2ceb03d9ca9160074cfc35b9f5f58ffe21 Mon Sep 17 00:00:00 2001 From: Thomas Roehl Date: Fri, 11 Feb 2022 18:09:39 +0100 Subject: [PATCH] Fix group for netstat collector --- collectors/netstatMetric.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/collectors/netstatMetric.go b/collectors/netstatMetric.go index 0ec94a4..eb47a69 100644 --- a/collectors/netstatMetric.go +++ b/collectors/netstatMetric.go @@ -26,7 +26,7 @@ type NetstatCollector struct { func (m *NetstatCollector) Init(config json.RawMessage) error { m.name = "NetstatCollector" m.setup() - m.meta = map[string]string{"source": m.name, "group": "Memory"} + m.meta = map[string]string{"source": m.name, "group": "network"} m.matches = map[int]string{ 1: "net_bytes_in", 9: "net_bytes_out",