collect_item_linux.go 1.7 KB
Newer Older
W
wangzelin.wzl 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78
package nodeexporter

const (
	ntp              = "collector.ntp"
	arp              = "collector.arp"
	bcache           = "collector.bcache"
	bonding          = "collector.bonding"
	btrfs            = "collector.btrfs"
	conntrack        = "collector.conntrack"
	cpufreq          = "collector.cpufreq"
	edac             = "collector.edac"
	entropy          = "collector.entropy"
	fibrechannel     = "collector.fibrechannel"
	hwmon            = "collector.hwmon"
	infiniband       = "collector.infiniband"
	ipvs             = "collector.ipvs"
	mdadm            = "collector.mdadm"
	netclass         = "collector.netclass"
	nfs              = "collector.nfs"
	nfsd             = "collector.nfsd"
	nvme             = "collector.nvme"
	powersupplyclass = "collector.powersupplyclass"
	pressure         = "collector.pressure"
	rapl             = "collector.rapl"
	schedstat        = "collector.schedstat"
	softnet          = "collector.softnet"
	stat             = "collector.stat"
	tapestats        = "collector.tapestats"
	textfile         = "collector.textfile"
	thermal_zone     = "collector.thermal_zone"
	timec            = "collector.time"
	timex            = "collector.timex"
	udp_queues       = "collector.udp_queues"
	uname            = "collector.uname"
	vmstat           = "collector.vmstat"
	xfs              = "collector.xfs"
	zfs              = "collector.zfs"
)

var collectItems = []string{
	ntp,
}

var noCollectItems = []string{
	arp,
	bcache,
	bonding,
	btrfs,
	conntrack,
	cpufreq,
	edac,
	entropy,
	fibrechannel,
	hwmon,
	infiniband,
	ipvs,
	mdadm,
	netclass,
	nfs,
	nfsd,
	nvme,
	powersupplyclass,
	pressure,
	rapl,
	schedstat,
	softnet,
	stat,
	tapestats,
	textfile,
	thermal_zone,
	timec,
	timex,
	udp_queues,
	uname,
	vmstat,
	xfs,
	zfs,
}