mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2024-11-14 05:57:25 +01:00
Fix group for netstat collector
This commit is contained in:
parent
cfc5279958
commit
23d13b2ceb
@ -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": "Memory"}
|
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",
|
||||||
|
Loading…
Reference in New Issue
Block a user