You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
package collector
|
|
|
|
// Scrapers 这里就做了开关控制我们在代码中实现就是通过修改这个bool值来做 每当我们添加一个指标 需要在map中添加一个指标的name 以及bool 添加指标后续会介绍
|
|
var (
|
|
Scrapers = map[Scraper]bool{
|
|
CpuLoad{}: true,
|
|
}
|
|
)
|