Exemplo n.º 1
0
func init() {
	plugins.Add("disk", func() plugins.Plugin {
		return &DiskStats{ps: &systemPS{}}
	})

	plugins.Add("io", func() plugins.Plugin {
		return &DiskIOStats{ps: &systemPS{}}
	})
}
Exemplo n.º 2
0
func init() {
	plugins.Add("mem", func() plugins.Plugin {
		return &MemStats{ps: &systemPS{}}
	})

	plugins.Add("swap", func() plugins.Plugin {
		return &SwapStats{ps: &systemPS{}}
	})
}
Exemplo n.º 3
0
func init() {
	plugins.Add("rabbitmq", func() plugins.Plugin {
		return &RabbitMQ{}
	})
}
Exemplo n.º 4
0
func init() {
	plugins.Add("leofs", func() plugins.Plugin {
		return &LeoFS{}
	})
}
Exemplo n.º 5
0
func init() {
	plugins.Add("memcached", func() plugins.Plugin {
		return &Memcached{}
	})
}
Exemplo n.º 6
0
func init() {
	plugins.Add("kafka", func() plugins.Plugin {
		return &Kafka{}
	})
}
Exemplo n.º 7
0
func init() {
	plugins.Add("lustre2", func() plugins.Plugin {
		return &Lustre2{}
	})
}
Exemplo n.º 8
0
func init() {
	plugins.Add("cpu", func() plugins.Plugin {
		return &CPUStats{ps: &systemPS{}}
	})
}
Exemplo n.º 9
0
func init() {
	plugins.Add("prometheus", func() plugins.Plugin {
		return &Prometheus{}
	})
}
Exemplo n.º 10
0
func init() {
	plugins.Add("mysql", func() plugins.Plugin {
		return &Mysql{}
	})
}
Exemplo n.º 11
0
func init() {
	plugins.Add("net", func() plugins.Plugin {
		return &NetIOStats{ps: &systemPS{}}
	})
}
Exemplo n.º 12
0
func init() {
	plugins.Add("postgresql", func() plugins.Plugin {
		return &Postgresql{}
	})
}
Exemplo n.º 13
0
func init() {
	plugins.Add("nginx", func() plugins.Plugin {
		return &Nginx{}
	})
}
Exemplo n.º 14
0
func init() {
	plugins.Add("docker", func() plugins.Plugin {
		return &DockerStats{ps: &systemPS{}}
	})
}
Exemplo n.º 15
0
func init() {
	plugins.Add("httpjson", func() plugins.Plugin {
		return &HttpJson{client: RealHTTPClient{client: &http.Client{}}}
	})
}
Exemplo n.º 16
0
func init() {
	plugins.Add("ping", func() plugins.Plugin {
		return &Ping{pingHost: hostPinger}
	})
}
Exemplo n.º 17
0
func init() {
	plugins.Add("apache", func() plugins.Plugin {
		return &Apache{}
	})
}
Exemplo n.º 18
0
func init() {
	plugins.Add("redis", func() plugins.Plugin {
		return &Redis{}
	})
}
Exemplo n.º 19
0
func init() {
	plugins.Add("exec", func() plugins.Plugin {
		return NewExec()
	})
}
Exemplo n.º 20
0
func init() {
	plugins.Add("system", func() plugins.Plugin {
		return &SystemStats{}
	})
}
Exemplo n.º 21
0
func init() {
	plugins.Add("disque", func() plugins.Plugin {
		return &Disque{}
	})
}
Exemplo n.º 22
0
func init() {
	plugins.Add("rethinkdb", func() plugins.Plugin {
		return &RethinkDB{}
	})
}
Exemplo n.º 23
0
func init() {
	plugins.Add("haproxy", func() plugins.Plugin {
		return &haproxy{}
	})
}
Exemplo n.º 24
0
func init() {
	plugins.Add("elasticsearch", func() plugins.Plugin {
		return NewElasticsearch()
	})
}