mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2024-12-26 07:29:04 +01:00
Fix group for netstat collector
This commit is contained in:
parent
23d13b2ceb
commit
bd246bdacf
@ -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",
|
||||||
|
Loading…
Reference in New Issue
Block a user