SYMBOL INDEX (1092 symbols across 189 files) FILE: collector/arp_linux.go type arpCollector (line 35) | type arpCollector struct method Update (line 102) | func (c *arpCollector) Update(ch chan<- prometheus.Metric) error { function init (line 42) | func init() { function NewARPCollector (line 47) | func NewARPCollector(logger *slog.Logger) (Collector, error) { function getTotalArpEntries (line 65) | func getTotalArpEntries(deviceEntries []procfs.ARPEntry) map[string]uint... function getTotalArpEntriesRTNL (line 75) | func getTotalArpEntriesRTNL() (map[string]uint32, error) { FILE: collector/bcache_linux.go function init (line 31) | func init() { type bcacheCollector (line 36) | type bcacheCollector struct method Update (line 57) | func (c *bcacheCollector) Update(ch chan<- prometheus.Metric) error { method updateBcacheStats (line 154) | func (c *bcacheCollector) updateBcacheStats(ch chan<- prometheus.Metri... function NewBcacheCollector (line 43) | func NewBcacheCollector(logger *slog.Logger) (Collector, error) { type bcacheMetric (line 75) | type bcacheMetric struct function bcachePeriodStatsToMetric (line 84) | func bcachePeriodStatsToMetric(ps *bcache.PeriodStats, labelValue string... FILE: collector/bcachefs_linux.go constant subsystem (line 27) | subsystem = "bcachefs" function init (line 110) | func init() { type bcachefsCollector (line 115) | type bcachefsCollector struct method Update (line 134) | func (c *bcachefsCollector) Update(ch chan<- prometheus.Metric) error { function NewBcachefsCollector (line 121) | func NewBcachefsCollector(logger *slog.Logger) (Collector, error) { FILE: collector/bonding_linux.go type bondingCollector (line 29) | type bondingCollector struct method Update (line 57) | func (c *bondingCollector) Update(ch chan<- prometheus.Metric) error { function init (line 34) | func init() { function NewBondingCollector (line 40) | func NewBondingCollector(logger *slog.Logger) (Collector, error) { function readBondingStats (line 74) | func readBondingStats(root string) (status map[string][2]int, err error) { FILE: collector/bonding_linux_test.go function TestBonding (line 22) | func TestBonding(t *testing.T) { FILE: collector/boot_time_bsd.go type bootTimeCollector (line 25) | type bootTimeCollector struct method Update (line 41) | func (c *bootTimeCollector) Update(ch chan<- prometheus.Metric) error { function init (line 29) | func init() { function newBootTimeCollector (line 34) | func newBootTimeCollector(logger *slog.Logger) (Collector, error) { FILE: collector/boot_time_solaris.go type bootTimeCollector (line 25) | type bootTimeCollector struct method Update (line 48) | func (c *bootTimeCollector) Update(ch chan<- prometheus.Metric) error { function init (line 30) | func init() { function newBootTimeCollector (line 34) | func newBootTimeCollector(logger *slog.Logger) (Collector, error) { FILE: collector/btrfs_linux.go type btrfsCollector (line 31) | type btrfsCollector struct method Update (line 55) | func (c *btrfsCollector) Update(ch chan<- prometheus.Metric) error { method getIoctlStats (line 101) | func (c *btrfsCollector) getIoctlStats() (map[string]*btrfsIoctlFsStat... method getIoctlDeviceStats (line 174) | func (c *btrfsCollector) getIoctlDeviceStats(fs *dennwc.FS, fsInfo *de... method updateBtrfsStats (line 225) | func (c *btrfsCollector) updateBtrfsStats(ch chan<- prometheus.Metric,... method getMetrics (line 260) | func (c *btrfsCollector) getMetrics(s *btrfs.Stats, ioctlStats *btrfsI... method getAllocationStats (line 386) | func (c *btrfsCollector) getAllocationStats(a string, s *btrfs.Allocat... method getLayoutStats (line 407) | func (c *btrfsCollector) getLayoutStats(a, l string, s *btrfs.LayoutUs... function init (line 36) | func init() { function NewBtrfsCollector (line 41) | func NewBtrfsCollector(logger *slog.Logger) (Collector, error) { type btrfsIoctlFsDevStats (line 79) | type btrfsIoctlFsDevStats struct type btrfsIoctlFsStats (line 96) | type btrfsIoctlFsStats struct type btrfsMetric (line 215) | type btrfsMetric struct FILE: collector/btrfs_linux_test.go function checkMetric (line 74) | func checkMetric(exp, got *btrfsMetric) bool { function TestBtrfs (line 101) | func TestBtrfs(t *testing.T) { FILE: collector/buddyinfo.go constant buddyInfoSubsystem (line 28) | buddyInfoSubsystem = "buddyinfo" type buddyinfoCollector (line 31) | type buddyinfoCollector struct method Update (line 57) | func (c *buddyinfoCollector) Update(ch chan<- prometheus.Metric) error { function init (line 37) | func init() { function NewBuddyinfoCollector (line 42) | func NewBuddyinfoCollector(logger *slog.Logger) (Collector, error) { FILE: collector/cgroups_linux.go constant cgroupsCollectorSubsystem (line 26) | cgroupsCollectorSubsystem = "cgroups" type cgroupSummaryCollector (line 28) | type cgroupSummaryCollector struct method Update (line 62) | func (c *cgroupSummaryCollector) Update(ch chan<- prometheus.Metric) e... function init (line 35) | func init() { function NewCgroupSummaryCollector (line 40) | func NewCgroupSummaryCollector(logger *slog.Logger) (Collector, error) { FILE: collector/collector.go constant namespace (line 29) | namespace = "node" constant defaultEnabled (line 47) | defaultEnabled = true constant defaultDisabled (line 48) | defaultDisabled = false function registerCollector (line 59) | func registerCollector(collector string, isDefaultEnabled bool, factory ... type NodeCollector (line 78) | type NodeCollector struct method Describe (line 140) | func (n NodeCollector) Describe(ch chan<- *prometheus.Desc) { method Collect (line 146) | func (n NodeCollector) Collect(ch chan<- prometheus.Metric) { function DisableDefaultCollectors (line 85) | func DisableDefaultCollectors() { function collectorFlagAction (line 98) | func collectorFlagAction(collector string) func(ctx *kingpin.ParseContex... function NewNodeCollector (line 106) | func NewNodeCollector(logger *slog.Logger, filters ...string) (*NodeColl... function execute (line 158) | func execute(name string, c Collector, ch chan<- prometheus.Metric, logg... type Collector (line 180) | type Collector interface type typedDesc (line 185) | type typedDesc struct method mustNewConstMetric (line 190) | func (d *typedDesc) mustNewConstMetric(value float64, labels ...string... function IsNoDataError (line 197) | func IsNoDataError(err error) bool { function pushMetric (line 202) | func pushMetric(ch chan<- prometheus.Metric, fieldDesc *prometheus.Desc,... FILE: collector/conntrack_linux.go type conntrackCollector (line 28) | type conntrackCollector struct method Update (line 114) | func (c *conntrackCollector) Update(ch chan<- prometheus.Metric) error { method handleErr (line 153) | func (c *conntrackCollector) handleErr(err error) error { type conntrackStatistics (line 42) | type conntrackStatistics struct function init (line 53) | func init() { function NewConntrackCollector (line 58) | func NewConntrackCollector(logger *slog.Logger) (Collector, error) { function getConntrackStatistics (line 161) | func getConntrackStatistics() (*conntrackStatistics, error) { FILE: collector/cpu_aix.go type cpuCollector (line 54) | type cpuCollector struct method Update (line 102) | func (c *cpuCollector) Update(ch chan<- prometheus.Metric) error { function init (line 66) | func init() { function tickPerSecond (line 70) | func tickPerSecond() (float64, error) { function NewCpuCollector (line 78) | func NewCpuCollector(logger *slog.Logger) (Collector, error) { FILE: collector/cpu_common.go constant cpuCollectorSubsystem (line 23) | cpuCollectorSubsystem = "cpu" FILE: collector/cpu_darwin.go constant ClocksPerSec (line 51) | ClocksPerSec = float64(C.CLK_TCK) type statCollector (line 53) | type statCollector struct method Update (line 70) | func (c *statCollector) Update(ch chan<- prometheus.Metric) error { function init (line 58) | func init() { function NewCPUCollector (line 63) | func NewCPUCollector(logger *slog.Logger) (Collector, error) { FILE: collector/cpu_dragonfly.go constant maxCPUTimesLen (line 76) | maxCPUTimesLen = C.MAXCPU * C.CPUSTATES type statCollector (line 78) | type statCollector struct method Update (line 124) | func (c *statCollector) Update(ch chan<- prometheus.Metric) error { function init (line 83) | func init() { function NewStatCollector (line 88) | func NewStatCollector(logger *slog.Logger) (Collector, error) { function getDragonFlyCPUTimes (line 95) | func getDragonFlyCPUTimes() ([]float64, error) { FILE: collector/cpu_dragonfly_test.go function TestCPU (line 23) | func TestCPU(t *testing.T) { FILE: collector/cpu_freebsd.go type clockinfo (line 29) | type clockinfo struct type cputime (line 37) | type cputime struct function getCPUTimes (line 45) | func getCPUTimes() ([]cputime, error) { type statCollector (line 83) | type statCollector struct method Update (line 107) | func (c *statCollector) Update(ch chan<- prometheus.Metric) error { function init (line 89) | func init() { function NewStatCollector (line 94) | func NewStatCollector(logger *slog.Logger) (Collector, error) { FILE: collector/cpu_linux.go type cpuCollector (line 36) | type cpuCollector struct method compileIncludeFlags (line 153) | func (c *cpuCollector) compileIncludeFlags(flagsIncludeFlag, bugsInclu... method Update (line 176) | func (c *cpuCollector) Update(ch chan<- prometheus.Metric) error { method updateInfo (line 201) | func (c *cpuCollector) updateInfo(ch chan<- prometheus.Metric) error { method updateThermalThrottle (line 268) | func (c *cpuCollector) updateThermalThrottle(ch chan<- prometheus.Metr... method updateIsolated (line 346) | func (c *cpuCollector) updateIsolated(ch chan<- prometheus.Metric) { method updateOnline (line 354) | func (c *cpuCollector) updateOnline(ch chan<- prometheus.Metric) error { method updateStat (line 376) | func (c *cpuCollector) updateStat(ch chan<- prometheus.Metric) error { method updateCPUStats (line 409) | func (c *cpuCollector) updateCPUStats(newStats map[int64]procfs.CPUSta... constant jumpBackSeconds (line 59) | jumpBackSeconds = 3.0 function init (line 69) | func init() { function NewCPUCollector (line 74) | func NewCPUCollector(logger *slog.Logger) (Collector, error) { function updateFieldInfo (line 249) | func updateFieldInfo(valueList []string, filter *regexp.Regexp, desc *pr... FILE: collector/cpu_linux_test.go function copyStats (line 27) | func copyStats(d, s map[int64]procfs.CPUStat) { function makeTestCPUCollector (line 34) | func makeTestCPUCollector(s map[int64]procfs.CPUStat) *cpuCollector { function TestCPU (line 43) | func TestCPU(t *testing.T) { function TestCPUOffline (line 119) | func TestCPUOffline(t *testing.T) { FILE: collector/cpu_netbsd.go constant _IOC_OUT (line 35) | _IOC_OUT = uint(0x40000000) constant _IOC_IN (line 36) | _IOC_IN = uint(0x80000000) constant _IOC_INOUT (line 37) | _IOC_INOUT = (_IOC_IN | _IOC_OUT) constant _IOCPARM_MASK (line 38) | _IOCPARM_MASK = uint(0x1fff) constant _IOCPARM_SHIFT (line 39) | _IOCPARM_SHIFT = uint(16) constant _IOCGROUP_SHIFT (line 40) | _IOCGROUP_SHIFT = uint(8) type clockinfo (line 43) | type clockinfo struct type cputime (line 51) | type cputime struct type plistref (line 59) | type plistref struct type sysmonValues (line 64) | type sysmonValues struct type sysmonProperty (line 71) | type sysmonProperty type sysmonProperties (line 73) | type sysmonProperties function _IOC (line 75) | func _IOC(inout uint, group byte, num uint, len uintptr) uint { function _IOWR (line 79) | func _IOWR(group byte, num uint, len uintptr) uint { function ioctl (line 83) | func ioctl(fd int, nr uint, typ byte, size uintptr, retptr unsafe.Pointe... function readSysmonProperties (line 96) | func readSysmonProperties() (sysmonProperties, error) { function sortFilterSysmonProperties (line 118) | func sortFilterSysmonProperties(props sysmonProperties, prefix string) [... function convertTemperatures (line 130) | func convertTemperatures(prop sysmonProperty, res map[int]float64) error { function getCPUTemperatures (line 146) | func getCPUTemperatures() (map[int]float64, error) { function getCPUTimes (line 164) | func getCPUTimes() ([]cputime, error) { type statCollector (line 215) | type statCollector struct method Update (line 239) | func (c *statCollector) Update(ch chan<- prometheus.Metric) error { function init (line 221) | func init() { function NewStatCollector (line 226) | func NewStatCollector(logger *slog.Logger) (Collector, error) { FILE: collector/cpu_netbsd_test.go function TestCPUTimes (line 23) | func TestCPUTimes(t *testing.T) { function TestCPUTemperatures (line 38) | func TestCPUTemperatures(t *testing.T) { FILE: collector/cpu_openbsd.go constant CP_USER (line 28) | CP_USER = iota constant CP_NICE (line 29) | CP_NICE constant CP_SYS (line 30) | CP_SYS constant CP_SPIN (line 31) | CP_SPIN constant CP_INTR (line 32) | CP_INTR constant CP_IDLE (line 33) | CP_IDLE constant CPUSTATES (line 34) | CPUSTATES constant CP_USER_O63 (line 37) | CP_USER_O63 = iota constant CP_NICE_O63 (line 38) | CP_NICE_O63 constant CP_SYS_O63 (line 39) | CP_SYS_O63 constant CP_INTR_O63 (line 40) | CP_INTR_O63 constant CP_IDLE_O63 (line 41) | CP_IDLE_O63 constant CPUSTATES_O63 (line 42) | CPUSTATES_O63 type cpuCollector (line 45) | type cpuCollector struct method Update (line 61) | func (c *cpuCollector) Update(ch chan<- prometheus.Metric) (err error) { function init (line 50) | func init() { function NewCPUCollector (line 54) | func NewCPUCollector(logger *slog.Logger) (Collector, error) { FILE: collector/cpu_solaris.go type cpuCollector (line 29) | type cpuCollector struct method Update (line 45) | func (c *cpuCollector) Update(ch chan<- prometheus.Metric) error { function init (line 34) | func init() { function NewCpuCollector (line 38) | func NewCpuCollector(logger *slog.Logger) (Collector, error) { FILE: collector/cpu_vulnerabilities_linux.go constant cpuVulnerabilitiesCollectorSubsystem (line 25) | cpuVulnerabilitiesCollectorSubsystem = "cpu_vulnerabilities" type cpuVulnerabilitiesCollector (line 37) | type cpuVulnerabilitiesCollector struct method Update (line 47) | func (v *cpuVulnerabilitiesCollector) Update(ch chan<- prometheus.Metr... function init (line 39) | func init() { function NewVulnerabilitySysfsCollector (line 43) | func NewVulnerabilitySysfsCollector(logger *slog.Logger) (Collector, err... FILE: collector/cpufreq_linux.go type cpuFreqCollector (line 27) | type cpuFreqCollector struct method Update (line 50) | func (c *cpuFreqCollector) Update(ch chan<- prometheus.Metric) error { function init (line 32) | func init() { function NewCPUFreqCollector (line 37) | func NewCPUFreqCollector(logger *slog.Logger) (Collector, error) { FILE: collector/cpufreq_solaris.go type cpuFreqCollector (line 30) | type cpuFreqCollector struct method Update (line 44) | func (c *cpuFreqCollector) Update(ch chan<- prometheus.Metric) error { function init (line 34) | func init() { function NewCpuFreqCollector (line 38) | func NewCpuFreqCollector(logger *slog.Logger) (Collector, error) { FILE: collector/device_filter.go type deviceFilter (line 20) | type deviceFilter struct method ignored (line 38) | func (f *deviceFilter) ignored(name string) bool { function newDeviceFilter (line 25) | func newDeviceFilter(ignoredPattern, acceptPattern string) (f deviceFilt... FILE: collector/device_filter_test.go function TestDeviceFilter (line 20) | func TestDeviceFilter(t *testing.T) { FILE: collector/devstat_dragonfly.go constant devstatSubsystem (line 93) | devstatSubsystem = "devstat" type devstatCollector (line 96) | type devstatCollector struct method Update (line 129) | func (c *devstatCollector) Update(ch chan<- prometheus.Metric) error { function init (line 103) | func init() { function NewDevstatCollector (line 108) | func NewDevstatCollector(logger *slog.Logger) (Collector, error) { FILE: collector/devstat_freebsd.c function _get_stats (line 26) | int _get_stats(struct devinfo *info, Stats **stats) { FILE: collector/devstat_freebsd.go constant devstatSubsystem (line 33) | devstatSubsystem = "devstat" type devstatCollector (line 36) | type devstatCollector struct method Update (line 85) | func (c *devstatCollector) Update(ch chan<- prometheus.Metric) error { function init (line 48) | func init() { function NewDevstatCollector (line 53) | func NewDevstatCollector(logger *slog.Logger) (Collector, error) { FILE: collector/devstat_freebsd.h type Bytes (line 22) | typedef struct { type Transfers (line 28) | typedef struct { type Duration (line 35) | typedef struct { type Stats (line 42) | typedef struct { type devinfo (line 54) | struct devinfo FILE: collector/diskstats_aix.go constant diskstatsDefaultIgnoredDevices (line 26) | diskstatsDefaultIgnoredDevices = "" type diskstatsCollector (line 28) | type diskstatsCollector struct method Update (line 122) | func (c *diskstatsCollector) Update(ch chan<- prometheus.Metric) error { function init (line 47) | func init() { function NewDiskstatsCollector (line 52) | func NewDiskstatsCollector(logger *slog.Logger) (Collector, error) { FILE: collector/diskstats_common.go constant diskSubsystem (line 27) | diskSubsystem = "disk" function newDiskstatsDeviceFilter (line 93) | func newDiskstatsDeviceFilter(logger *slog.Logger) (deviceFilter, error) { FILE: collector/diskstats_darwin.go constant diskstatsDefaultIgnoredDevices (line 26) | diskstatsDefaultIgnoredDevices = "" type typedDescFunc (line 28) | type typedDescFunc struct type diskstatsCollector (line 33) | type diskstatsCollector struct method Update (line 200) | func (c *diskstatsCollector) Update(ch chan<- prometheus.Metric) error { function init (line 40) | func init() { function NewDiskstatsCollector (line 45) | func NewDiskstatsCollector(logger *slog.Logger) (Collector, error) { FILE: collector/diskstats_linux.go constant secondsPerTick (line 31) | secondsPerTick = 1.0 / 1000.0 constant unixSectorSize (line 35) | unixSectorSize = 512.0 constant diskstatsDefaultIgnoredDevices (line 37) | diskstatsDefaultIgnoredDevices = "^(z?ram|loop|fd|(h|s|v|xv)d[a-z]|nvme\... constant udevDevicePropertyPrefix (line 40) | udevDevicePropertyPrefix = "E:" constant udevDMLVLayer (line 43) | udevDMLVLayer = "DM_LV_LAYER" constant udevDMLVName (line 44) | udevDMLVName = "DM_LV_NAME" constant udevDMName (line 45) | udevDMName = "DM_NAME" constant udevDMUUID (line 46) | udevDMUUID = "DM_UUID" constant udevDMVGName (line 47) | udevDMVGName = "DM_VG_NAME" constant udevIDATA (line 48) | udevIDATA = "ID_ATA" constant udevIDATARotationRateRPM (line 49) | udevIDATARotationRateRPM = "ID_ATA_ROTATION_RATE_RPM" constant udevIDATASATA (line 50) | udevIDATASATA = "ID_ATA_SATA" constant udevIDATASATASignalRateGen1 (line 51) | udevIDATASATASignalRateGen1 = "ID_ATA_SATA_SIGNAL_RATE_GEN1" constant udevIDATASATASignalRateGen2 (line 52) | udevIDATASATASignalRateGen2 = "ID_ATA_SATA_SIGNAL_RATE_GEN2" constant udevIDATAWriteCache (line 53) | udevIDATAWriteCache = "ID_ATA_WRITE_CACHE" constant udevIDATAWriteCacheEnabled (line 54) | udevIDATAWriteCacheEnabled = "ID_ATA_WRITE_CACHE_ENABLED" constant udevIDFSType (line 55) | udevIDFSType = "ID_FS_TYPE" constant udevIDFSUsage (line 56) | udevIDFSUsage = "ID_FS_USAGE" constant udevIDFSUUID (line 57) | udevIDFSUUID = "ID_FS_UUID" constant udevIDFSVersion (line 58) | udevIDFSVersion = "ID_FS_VERSION" constant udevIDModel (line 59) | udevIDModel = "ID_MODEL" constant udevIDPath (line 60) | udevIDPath = "ID_PATH" constant udevIDRevision (line 61) | udevIDRevision = "ID_REVISION" constant udevIDSerial (line 62) | udevIDSerial = "ID_SERIAL" constant udevIDSerialShort (line 63) | udevIDSerialShort = "ID_SERIAL_SHORT" constant udevIDWWN (line 64) | udevIDWWN = "ID_WWN" constant udevSCSIIdentSerial (line 65) | udevSCSIIdentSerial = "SCSI_IDENT_SERIAL" type udevInfo (line 68) | type udevInfo type diskstatsCollector (line 70) | type diskstatsCollector struct method Update (line 263) | func (c *diskstatsCollector) Update(ch chan<- prometheus.Metric) error { function init (line 82) | func init() { function NewDiskstatsCollector (line 88) | func NewDiskstatsCollector(logger *slog.Logger) (Collector, error) { function getUdevDeviceProperties (line 375) | func getUdevDeviceProperties(major, minor uint32) (udevInfo, error) { FILE: collector/diskstats_linux_test.go type testDiskStatsCollector (line 29) | type testDiskStatsCollector struct method Collect (line 33) | func (c testDiskStatsCollector) Collect(ch chan<- prometheus.Metric) { method Describe (line 37) | func (c testDiskStatsCollector) Describe(ch chan<- *prometheus.Desc) { function NewTestDiskStatsCollector (line 41) | func NewTestDiskStatsCollector(logger *slog.Logger) (prometheus.Collecto... function TestDiskStats (line 51) | func TestDiskStats(t *testing.T) { FILE: collector/diskstats_openbsd.go constant diskstatsDefaultIgnoredDevices (line 33) | diskstatsDefaultIgnoredDevices = "" type diskstatsCollector (line 35) | type diskstatsCollector struct method Update (line 69) | func (c *diskstatsCollector) Update(ch chan<- prometheus.Metric) (err ... function init (line 46) | func init() { function NewDiskstatsCollector (line 51) | func NewDiskstatsCollector(logger *slog.Logger) (Collector, error) { FILE: collector/diskstats_openbsd_amd64.go constant DS_DISKNAMELEN (line 28) | DS_DISKNAMELEN = 16 constant diskstatsDefaultIgnoredDevices (line 30) | diskstatsDefaultIgnoredDevices = "" type DiskStats (line 33) | type DiskStats struct type diskstatsCollector (line 46) | type diskstatsCollector struct method Update (line 80) | func (c *diskstatsCollector) Update(ch chan<- prometheus.Metric) (err ... function init (line 57) | func init() { function NewDiskstatsCollector (line 62) | func NewDiskstatsCollector(logger *slog.Logger) (Collector, error) { FILE: collector/dmi.go type dmiCollector (line 29) | type dmiCollector struct method Update (line 98) | func (c *dmiCollector) Update(ch chan<- prometheus.Metric) error { function init (line 34) | func init() { function NewDMICollector (line 39) | func NewDMICollector(logger *slog.Logger) (Collector, error) { FILE: collector/drbd_linux.go type drbdNumericalMetric (line 31) | type drbdNumericalMetric struct function newDRBDNumericalMetric (line 37) | func newDRBDNumericalMetric(name, desc string, valueType prometheus.Valu... type drbdStringPairMetric (line 51) | type drbdStringPairMetric struct method isOkay (line 56) | func (m *drbdStringPairMetric) isOkay(v string) float64 { function newDRBDStringPairMetric (line 64) | func newDRBDStringPairMetric(name, desc, valueOK string) drbdStringPairM... type drbdCollector (line 76) | type drbdCollector struct method Update (line 187) | func (c *drbdCollector) Update(ch chan<- prometheus.Metric) error { function init (line 83) | func init() { function newDRBDCollector (line 87) | func newDRBDCollector(logger *slog.Logger) (Collector, error) { FILE: collector/drm_linux.go constant drmCollectorSubsystem (line 27) | drmCollectorSubsystem = "drm" type drmCollector (line 30) | type drmCollector struct method Update (line 100) | func (c *drmCollector) Update(ch chan<- prometheus.Metric) error { method updateAMDCards (line 104) | func (c *drmCollector) updateAMDCards(ch chan<- prometheus.Metric) err... function init (line 43) | func init() { function NewDrmCollector (line 48) | func NewDrmCollector(logger *slog.Logger) (Collector, error) { FILE: collector/edac_linux.go constant edacSubsystem (line 28) | edacSubsystem = "edac" type edacCollector (line 36) | type edacCollector struct method Update (line 75) | func (c *edacCollector) Update(ch chan<- prometheus.Metric) error { function init (line 44) | func init() { function NewEdacCollector (line 49) | func NewEdacCollector(logger *slog.Logger) (Collector, error) { FILE: collector/entropy_linux.go type entropyCollector (line 26) | type entropyCollector struct method Update (line 60) | func (c *entropyCollector) Update(ch chan<- prometheus.Metric) error { function init (line 33) | func init() { function NewEntropyCollector (line 38) | func NewEntropyCollector(logger *slog.Logger) (Collector, error) { FILE: collector/ethtool_linux.go type Ethtool (line 48) | type Ethtool interface type ethtoolLibrary (line 54) | type ethtoolLibrary struct method DriverInfo (line 58) | func (e *ethtoolLibrary) DriverInfo(intf string) (ethtool.DrvInfo, err... method Stats (line 62) | func (e *ethtoolLibrary) Stats(intf string) (map[string]uint64, error) { method LinkInfo (line 66) | func (e *ethtoolLibrary) LinkInfo(intf string) (ethtool.EthtoolCmd, er... type ethtoolCollector (line 72) | type ethtoolCollector struct method updatePortCapabilities (line 231) | func (c *ethtoolCollector) updatePortCapabilities(ch chan<- prometheus... method updatePortInfo (line 254) | func (c *ethtoolCollector) updatePortInfo(ch chan<- prometheus.Metric,... method updateSpeeds (line 273) | func (c *ethtoolCollector) updateSpeeds(ch chan<- prometheus.Metric, p... method Update (line 373) | func (c *ethtoolCollector) Update(ch chan<- prometheus.Metric) error { method entryWithCreate (line 501) | func (c *ethtoolCollector) entryWithCreate(key, metricFQName string) *... method entry (line 516) | func (c *ethtoolCollector) entry(key string) *prometheus.Desc { function makeEthtoolCollector (line 86) | func makeEthtoolCollector(logger *slog.Logger) (*ethtoolCollector, error) { function init (line 211) | func init() { function buildEthtoolFQName (line 216) | func buildEthtoolFQName(metric string) string { function NewEthtoolCollector (line 224) | func NewEthtoolCollector(logger *slog.Logger) (Collector, error) { FILE: collector/ethtool_linux_test.go type EthtoolFixture (line 36) | type EthtoolFixture struct method DriverInfo (line 62) | func (e *EthtoolFixture) DriverInfo(intf string) (ethtool.DrvInfo, err... method Stats (line 101) | func (e *EthtoolFixture) Stats(intf string) (map[string]uint64, error) { method LinkInfo (line 176) | func (e *EthtoolFixture) LinkInfo(intf string) (ethtool.EthtoolCmd, er... type testEthtoolCollector (line 40) | type testEthtoolCollector struct method Collect (line 44) | func (c testEthtoolCollector) Collect(ch chan<- prometheus.Metric) { method Describe (line 48) | func (c testEthtoolCollector) Describe(ch chan<- *prometheus.Desc) { function NewTestEthtoolCollector (line 52) | func NewTestEthtoolCollector(logger *slog.Logger) (prometheus.Collector,... function readModes (line 139) | func readModes(modes string) uint32 { function readPortTypes (line 162) | func readPortTypes(portTypes string) uint32 { function NewEthtoolTestCollector (line 260) | func NewEthtoolTestCollector(logger *slog.Logger) (Collector, error) { function TestBuildEthtoolFQName (line 271) | func TestBuildEthtoolFQName(t *testing.T) { function TestEthToolCollector (line 290) | func TestEthToolCollector(t *testing.T) { FILE: collector/exec_bsd.go type execCollector (line 24) | type execCollector struct method Update (line 83) | func (c *execCollector) Update(ch chan<- prometheus.Metric) error { function init (line 29) | func init() { function NewExecCollector (line 34) | func NewExecCollector(logger *slog.Logger) (Collector, error) { FILE: collector/fibrechannel_linux.go constant maxUint64 (line 29) | maxUint64 = ^uint64(0) type fibrechannelCollector (line 31) | type fibrechannelCollector struct method pushMetric (line 86) | func (c *fibrechannelCollector) pushMetric(ch chan<- prometheus.Metric... method pushCounter (line 90) | func (c *fibrechannelCollector) pushCounter(ch chan<- prometheus.Metri... method Update (line 97) | func (c *fibrechannelCollector) Update(ch chan<- prometheus.Metric) er... function init (line 38) | func init() { function NewFibreChannelCollector (line 43) | func NewFibreChannelCollector(logger *slog.Logger) (Collector, error) { FILE: collector/filefd_linux.go constant fileFDStatSubsystem (line 30) | fileFDStatSubsystem = "filefd" type fileFDStatCollector (line 33) | type fileFDStatCollector struct method Update (line 46) | func (c *fileFDStatCollector) Update(ch chan<- prometheus.Metric) error { function init (line 37) | func init() { function NewFileFDStatCollector (line 42) | func NewFileFDStatCollector(logger *slog.Logger) (Collector, error) { function parseFileFDStats (line 68) | func parseFileFDStats(filename string) (map[string]string, error) { FILE: collector/filefd_linux_test.go function TestFileFDStats (line 20) | func TestFileFDStats(t *testing.T) { FILE: collector/filesystem_aix.go constant defMountPointsExcluded (line 23) | defMountPointsExcluded = "^/(dev|aha)($|/)" constant defFSTypesExcluded (line 24) | defFSTypesExcluded = "^procfs$" method GetStats (line 28) | func (c *filesystemCollector) GetStats() (stats []filesystemStats, err e... FILE: collector/filesystem_bsd.go constant defMountPointsExcluded (line 32) | defMountPointsExcluded = "^/(dev)($|/)" constant defFSTypesExcluded (line 33) | defFSTypesExcluded = "^devfs$" constant readOnly (line 34) | readOnly = 0x1 method GetStats (line 38) | func (c *filesystemCollector) GetStats() (stats []filesystemStats, err e... FILE: collector/filesystem_common.go type filesystemCollector (line 71) | type filesystemCollector struct method Update (line 183) | func (c *filesystemCollector) Update(ch chan<- prometheus.Metric) error { type filesystemLabels (line 82) | type filesystemLabels struct type filesystemStats (line 86) | type filesystemStats struct function init (line 94) | func init() { function NewFilesystemCollector (line 99) | func NewFilesystemCollector(logger *slog.Logger) (Collector, error) { function newMountPointsFilter (line 243) | func newMountPointsFilter(logger *slog.Logger) (deviceFilter, error) { function newFSTypeFilter (line 272) | func newFSTypeFilter(logger *slog.Logger) (deviceFilter, error) { FILE: collector/filesystem_freebsd.go constant defMountPointsExcluded (line 23) | defMountPointsExcluded = "^/(dev)($|/)" constant defFSTypesExcluded (line 24) | defFSTypesExcluded = "^devfs$" method GetStats (line 28) | func (c *filesystemCollector) GetStats() ([]filesystemStats, error) { FILE: collector/filesystem_linux.go constant defMountPointsExcluded (line 37) | defMountPointsExcluded = "^/(dev|proc|run/credentials/.+|sys|var/lib/doc... constant defFSTypesExcluded (line 38) | defFSTypesExcluded = "^(autofs|binfmt_misc|bpf|cgroup2?|configfs|deb... method GetStats (line 51) | func (c *filesystemCollector) GetStats() ([]filesystemStats, error) { method processStat (line 110) | func (c *filesystemCollector) processStat(labels filesystemLabels) files... function stuckMountWatcher (line 161) | func stuckMountWatcher(mountPoint string, success chan struct{}, logger ... function mountPointDetails (line 181) | func mountPointDetails(logger *slog.Logger) ([]filesystemLabels, error) { function parseFilesystemLabels (line 199) | func parseFilesystemLabels(mountInfo []*procfs.MountInfo) ([]filesystemL... function isFilesystemReadOnly (line 231) | func isFilesystemReadOnly(labels filesystemLabels) bool { function mountOptionsString (line 239) | func mountOptionsString(m map[string]string) string { FILE: collector/filesystem_linux_test.go function Test_parseFilesystemLabelsError (line 28) | func Test_parseFilesystemLabelsError(t *testing.T) { function Test_isFilesystemReadOnly (line 52) | func Test_isFilesystemReadOnly(t *testing.T) { function TestMountPointDetails (line 91) | func TestMountPointDetails(t *testing.T) { function TestMountsFallback (line 150) | func TestMountsFallback(t *testing.T) { function TestPathRootfs (line 171) | func TestPathRootfs(t *testing.T) { FILE: collector/filesystem_macos.go constant defMountPointsExcluded (line 57) | defMountPointsExcluded = "^/(dev)($|/)" constant defFSTypesExcluded (line 58) | defFSTypesExcluded = "^devfs$" constant readOnly (line 59) | readOnly = 0x1 method GetStats (line 63) | func (c *filesystemCollector) GetStats() (stats []filesystemStats, err e... FILE: collector/filesystem_netbsd.go constant defMountPointsExcluded (line 27) | defMountPointsExcluded = "^/(dev)($|/)" constant defFSTypesExcluded (line 28) | defFSTypesExcluded = "^(kernfs|procfs|ptyfs|fdesc)$" constant _VFS_NAMELEN (line 29) | _VFS_NAMELEN = 32 constant _VFS_MNAMELEN (line 30) | _VFS_MNAMELEN = 1024 type statvfs90 (line 38) | type statvfs90 struct method GetStats (line 73) | func (c *filesystemCollector) GetStats() (stats []filesystemStats, err e... FILE: collector/filesystem_openbsd.go constant defMountPointsExcluded (line 23) | defMountPointsExcluded = "^/(dev)($|/)" constant defFSTypesExcluded (line 24) | defFSTypesExcluded = "^devfs$" method GetStats (line 28) | func (c *filesystemCollector) GetStats() (stats []filesystemStats, err e... FILE: collector/helper.go function readUintFromFile (line 23) | func readUintFromFile(path string) (uint64, error) { function SanitizeMetricName (line 48) | func SanitizeMetricName(metricName string) string { FILE: collector/helper_test.go function TestSanitizeMetricName (line 20) | func TestSanitizeMetricName(t *testing.T) { FILE: collector/hwmon_linux.go function init (line 51) | func init() { type hwMonCollector (line 55) | type hwMonCollector struct method updateHwmon (line 164) | func (c *hwMonCollector) updateHwmon(ch chan<- prometheus.Metric, dir ... method hwmonName (line 377) | func (c *hwMonCollector) hwmonName(dir string) (string, error) { method hwmonHumanReadableChipName (line 437) | func (c *hwMonCollector) hwmonHumanReadableChipName(dir string) (strin... method Update (line 453) | func (c *hwMonCollector) Update(ch chan<- prometheus.Metric) error { function NewHwMonCollector (line 63) | func NewHwMonCollector(logger *slog.Logger) (Collector, error) { function cleanMetricName (line 72) | func cleanMetricName(name string) string { function addValueFile (line 79) | func addValueFile(data map[string]map[string]string, sensor string, prop... function sysReadFile (line 94) | func sysReadFile(file string) ([]byte, error) { function explodeSensorFilename (line 119) | func explodeSensorFilename(filename string) (ok bool, sensorType string,... function collectSensorData (line 145) | func collectSensorData(dir string, data map[string]map[string]string) er... FILE: collector/infiniband_linux.go type infinibandCollector (line 29) | type infinibandCollector struct method pushMetric (line 135) | func (c *infinibandCollector) pushMetric(ch chan<- prometheus.Metric, ... method pushCounter (line 139) | func (c *infinibandCollector) pushCounter(ch chan<- prometheus.Metric,... method Update (line 145) | func (c *infinibandCollector) Update(ch chan<- prometheus.Metric) error { function init (line 36) | func init() { function NewInfiniBandCollector (line 41) | func NewInfiniBandCollector(logger *slog.Logger) (Collector, error) { FILE: collector/interrupts_common.go type interruptsCollector (line 25) | type interruptsCollector struct function init (line 32) | func init() { function NewInterruptsCollector (line 43) | func NewInterruptsCollector(logger *slog.Logger) (Collector, error) { FILE: collector/interrupts_linux.go method Update (line 34) | func (c *interruptsCollector) Update(ch chan<- prometheus.Metric) (err e... type interrupt (line 60) | type interrupt struct function getInterrupts (line 66) | func getInterrupts() (map[string]interrupt, error) { function parseInterrupts (line 76) | func parseInterrupts(r io.Reader) (map[string]interrupt, error) { FILE: collector/interrupts_linux_test.go function TestInterrupts (line 23) | func TestInterrupts(t *testing.T) { function TestInterruptsArm (line 56) | func TestInterruptsArm(t *testing.T) { FILE: collector/interrupts_openbsd.go method Update (line 101) | func (c *interruptsCollector) Update(ch chan<- prometheus.Metric) error { type interrupt (line 129) | type interrupt struct function getInterrupts (line 135) | func getInterrupts() (map[string]interrupt, error) { FILE: collector/interrupts_openbsd_amd64.go constant KERN_INTRCNT (line 30) | KERN_INTRCNT = 63 constant KERN_INTRCNT_NUM (line 31) | KERN_INTRCNT_NUM = 1 constant KERN_INTRCNT_CNT (line 32) | KERN_INTRCNT_CNT = 2 constant KERN_INTRCNT_NAME (line 33) | KERN_INTRCNT_NAME = 3 constant KERN_INTRCNT_VECTOR (line 34) | KERN_INTRCNT_VECTOR = 4 function nintr (line 37) | func nintr() _C_int { function intr (line 46) | func intr(idx _C_int) (itr interrupt, err error) { method Update (line 74) | func (c *interruptsCollector) Update(ch chan<- prometheus.Metric) error { type interrupt (line 102) | type interrupt struct function getInterrupts (line 108) | func getInterrupts() (map[string]interrupt, error) { FILE: collector/ipvs_linux.go type ipvsCollector (line 32) | type ipvsCollector struct method Update (line 139) | func (c *ipvsCollector) Update(ch chan<- prometheus.Metric) error { method parseIpvsLabels (line 203) | func (c *ipvsCollector) parseIpvsLabels(labelString string) ([]string,... type ipvsBackendStatus (line 41) | type ipvsBackendStatus struct constant ipvsLabelLocalAddress (line 48) | ipvsLabelLocalAddress = "local_address" constant ipvsLabelLocalPort (line 49) | ipvsLabelLocalPort = "local_port" constant ipvsLabelRemoteAddress (line 50) | ipvsLabelRemoteAddress = "remote_address" constant ipvsLabelRemotePort (line 51) | ipvsLabelRemotePort = "remote_port" constant ipvsLabelProto (line 52) | ipvsLabelProto = "proto" constant ipvsLabelLocalMark (line 53) | ipvsLabelLocalMark = "local_mark" function init (line 68) | func init() { function NewIPVSCollector (line 74) | func NewIPVSCollector(logger *slog.Logger) (Collector, error) { function newIPVSCollector (line 78) | func newIPVSCollector(logger *slog.Logger) (*ipvsCollector, error) { FILE: collector/ipvs_linux_test.go function TestIPVSCollector (line 34) | func TestIPVSCollector(t *testing.T) { type miniCollector (line 148) | type miniCollector struct method Collect (line 152) | func (c miniCollector) Collect(ch chan<- prometheus.Metric) { method Describe (line 156) | func (c miniCollector) Describe(ch chan<- *prometheus.Desc) { function TestIPVSCollectorResponse (line 165) | func TestIPVSCollectorResponse(t *testing.T) { FILE: collector/kernel_hung_linux.go type kernelHungCollector (line 26) | type kernelHungCollector struct method Update (line 54) | func (c *kernelHungCollector) Update(ch chan<- prometheus.Metric) error { function init (line 31) | func init() { function NewKernelHungCollector (line 35) | func NewKernelHungCollector(logger *slog.Logger) (Collector, error) { FILE: collector/ksmd_linux.go type ksmdCollector (line 31) | type ksmdCollector struct method Update (line 65) | func (c *ksmdCollector) Update(ch chan<- prometheus.Metric) error { function init (line 36) | func init() { function getCanonicalMetricName (line 40) | func getCanonicalMetricName(filename string) string { function NewKsmdCollector (line 52) | func NewKsmdCollector(logger *slog.Logger) (Collector, error) { FILE: collector/kvm_bsd.c function _kvm_swap_used_pages (line 23) | int _kvm_swap_used_pages(uint64_t *out) { FILE: collector/kvm_bsd.go type kvm (line 27) | type kvm struct method SwapUsedPages (line 32) | func (k *kvm) SwapUsedPages() (value uint64, err error) { FILE: collector/lnstat_linux.go type lnstatCollector (line 27) | type lnstatCollector struct method Update (line 39) | func (c *lnstatCollector) Update(ch chan<- prometheus.Metric) error { function init (line 31) | func init() { function NewLnstatCollector (line 35) | func NewLnstatCollector(logger *slog.Logger) (Collector, error) { FILE: collector/loadavg.go type loadavgCollector (line 25) | type loadavgCollector struct method Update (line 46) | func (c *loadavgCollector) Update(ch chan<- prometheus.Metric) error { function init (line 30) | func init() { function NewLoadavgCollector (line 35) | func NewLoadavgCollector(logger *slog.Logger) (Collector, error) { FILE: collector/loadavg_aix.go function getLoad (line 22) | func getLoad() ([]float64, error) { FILE: collector/loadavg_bsd.go function getLoad (line 24) | func getLoad() ([]float64, error) { FILE: collector/loadavg_linux.go function getLoad (line 26) | func getLoad() (loads []float64, err error) { function parseLoad (line 39) | func parseLoad(data string) (loads []float64, err error) { FILE: collector/loadavg_linux_test.go function TestLoad (line 20) | func TestLoad(t *testing.T) { FILE: collector/loadavg_solaris.go function kstatToFloat (line 28) | func kstatToFloat(ks *kstat.KStat, kstatKey string) float64 { function getLoad (line 45) | func getLoad() ([]float64, error) { FILE: collector/logind_linux.go constant logindSubsystem (line 30) | logindSubsystem = "logind" constant dbusObject (line 31) | dbusObject = "org.freedesktop.login1" constant dbusPath (line 32) | dbusPath = "/org/freedesktop/login1" type logindCollector (line 48) | type logindCollector struct method Update (line 93) | func (lc *logindCollector) Update(ch chan<- prometheus.Metric) error { type logindDbus (line 52) | type logindDbus struct method listSeats (line 176) | func (c *logindDbus) listSeats() ([]string, error) { method listSessions (line 209) | func (c *logindDbus) listSessions() ([]logindSessionEntry, error) { method getSession (line 235) | func (c *logindDbus) getSession(session logindSessionEntry) *logindSes... type logindInterface (line 57) | type logindInterface interface type logindSession (line 63) | type logindSession struct type logindSessionEntry (line 71) | type logindSessionEntry struct type logindSeatEntry (line 79) | type logindSeatEntry struct function init (line 84) | func init() { function NewLogindCollector (line 89) | func NewLogindCollector(logger *slog.Logger) (Collector, error) { function collectMetrics (line 103) | func collectMetrics(ch chan<- prometheus.Metric, c logindInterface) error { function knownStringOrOther (line 140) | func knownStringOrOther(value string, known []string) string { function newDbus (line 148) | func newDbus() (*logindDbus, error) { FILE: collector/logind_linux_test.go type testLogindInterface (line 25) | type testLogindInterface struct method listSeats (line 29) | func (c *testLogindInterface) listSeats() ([]string, error) { method listSessions (line 33) | func (c *testLogindInterface) listSessions() ([]logindSessionEntry, er... method getSession (line 52) | func (c *testLogindInterface) getSession(session logindSessionEntry) *... function TestLogindCollectorKnownStringOrOther (line 71) | func TestLogindCollectorKnownStringOrOther(t *testing.T) { function TestLogindCollectorCollectMetrics (line 88) | func TestLogindCollectorCollectMetrics(t *testing.T) { FILE: collector/mdadm_linux.go type mdadmCollector (line 30) | type mdadmCollector struct method Update (line 118) | func (c *mdadmCollector) Update(ch chan<- prometheus.Metric) error { function init (line 34) | func init() { function NewMdadmCollector (line 39) | func NewMdadmCollector(logger *slog.Logger) (Collector, error) { FILE: collector/mdadm_linux_test.go type testMdadmCollector (line 28) | type testMdadmCollector struct method Collect (line 32) | func (c testMdadmCollector) Collect(ch chan<- prometheus.Metric) { method Describe (line 36) | func (c testMdadmCollector) Describe(ch chan<- *prometheus.Desc) { function NewTestMdadmCollector (line 40) | func NewTestMdadmCollector(logger *slog.Logger) (prometheus.Collector, e... function TestMdadmStats (line 48) | func TestMdadmStats(t *testing.T) { FILE: collector/meminfo.go constant memInfoSubsystem (line 26) | memInfoSubsystem = "memory" function init (line 29) | func init() { method Update (line 35) | func (c *meminfoCollector) Update(ch chan<- prometheus.Metric) error { FILE: collector/meminfo_aix.go type meminfoCollector (line 24) | type meminfoCollector struct method getMemInfo (line 35) | func (c *meminfoCollector) getMemInfo() (map[string]float64, error) { function NewMeminfoCollector (line 29) | func NewMeminfoCollector(logger *slog.Logger) (Collector, error) { FILE: collector/meminfo_darwin.go type meminfoCollector (line 32) | type meminfoCollector struct method getMemInfo (line 43) | func (c *meminfoCollector) getMemInfo() (map[string]float64, error) { function NewMeminfoCollector (line 37) | func NewMeminfoCollector(logger *slog.Logger) (Collector, error) { FILE: collector/meminfo_linux.go type meminfoCollector (line 25) | type meminfoCollector struct method getMemInfo (line 43) | func (c *meminfoCollector) getMemInfo() (map[string]float64, error) { function NewMeminfoCollector (line 31) | func NewMeminfoCollector(logger *slog.Logger) (Collector, error) { FILE: collector/meminfo_linux_test.go function TestMemInfo (line 24) | func TestMemInfo(t *testing.T) { FILE: collector/meminfo_netbsd.go type meminfoCollector (line 24) | type meminfoCollector struct method getMemInfo (line 35) | func (c *meminfoCollector) getMemInfo() (map[string]float64, error) { function NewMeminfoCollector (line 29) | func NewMeminfoCollector(logger *slog.Logger) (Collector, error) { FILE: collector/meminfo_numa_linux.go constant memInfoNumaSubsystem (line 33) | memInfoNumaSubsystem = "memory_numa" type meminfoMetric (line 38) | type meminfoMetric struct type meminfoNumaCollector (line 45) | type meminfoNumaCollector struct method Update (line 62) | func (c *meminfoNumaCollector) Update(ch chan<- prometheus.Metric) err... function init (line 50) | func init() { function NewMeminfoNumaCollector (line 55) | func NewMeminfoNumaCollector(logger *slog.Logger) (Collector, error) { function getMemInfoNuma (line 81) | func getMemInfoNuma() ([]meminfoMetric, error) { function parseMemInfoNuma (line 124) | func parseMemInfoNuma(r io.Reader) ([]meminfoMetric, error) { function parseMemInfoNumaStat (line 159) | func parseMemInfoNumaStat(r io.Reader, nodeNumber string) ([]meminfoMetr... FILE: collector/meminfo_numa_linux_test.go function TestMemInfoNuma (line 23) | func TestMemInfoNuma(t *testing.T) { function TestMemInfoNumaStat (line 67) | func TestMemInfoNumaStat(t *testing.T) { FILE: collector/meminfo_openbsd.go type meminfoCollector (line 56) | type meminfoCollector struct method getMemInfo (line 67) | func (c *meminfoCollector) getMemInfo() (map[string]float64, error) { function NewMeminfoCollector (line 61) | func NewMeminfoCollector(logger *slog.Logger) (Collector, error) { FILE: collector/meminfo_openbsd_amd64.go constant CTL_VFS (line 26) | CTL_VFS = 10 constant VFS_GENERIC (line 27) | VFS_GENERIC = 0 constant VFS_BCACHESTAT (line 28) | VFS_BCACHESTAT = 3 type bcachestats (line 31) | type bcachestats struct type meminfoCollector (line 52) | type meminfoCollector struct method getMemInfo (line 63) | func (c *meminfoCollector) getMemInfo() (map[string]float64, error) { function NewMeminfoCollector (line 57) | func NewMeminfoCollector(logger *slog.Logger) (Collector, error) { FILE: collector/memory_bsd.go constant memorySubsystem (line 27) | memorySubsystem = "memory" type memoryCollector (line 30) | type memoryCollector struct method Update (line 147) | func (c *memoryCollector) Update(ch chan<- prometheus.Metric) error { function init (line 37) | func init() { function NewMemoryCollector (line 42) | func NewMemoryCollector(logger *slog.Logger) (Collector, error) { FILE: collector/mountstats_linux.go type mountStatsCollector (line 32) | type mountStatsCollector struct method Update (line 512) | func (c *mountStatsCollector) Update(ch chan<- prometheus.Metric) error { method updateNFSStats (line 556) | func (c *mountStatsCollector) updateNFSStats(ch chan<- prometheus.Metr... type nfsDeviceIdentifier (line 102) | type nfsDeviceIdentifier struct function init (line 108) | func init() { function NewMountStatsCollector (line 113) | func NewMountStatsCollector(logger *slog.Logger) (Collector, error) { FILE: collector/netclass_linux.go type netClassCollector (line 38) | type netClassCollector struct method Update (line 67) | func (c *netClassCollector) Update(ch chan<- prometheus.Metric) error { method netClassSysfsUpdate (line 74) | func (c *netClassCollector) netClassSysfsUpdate(ch chan<- prometheus.M... method getFieldDesc (line 138) | func (c *netClassCollector) getFieldDesc(name string) *prometheus.Desc { method getNetClassInfo (line 157) | func (c *netClassCollector) getNetClassInfo() (sysfs.NetClass, error) { function init (line 47) | func init() { function NewNetClassCollector (line 52) | func NewNetClassCollector(logger *slog.Logger) (Collector, error) { function getAdminState (line 178) | func getAdminState(flags *int64) string { FILE: collector/netclass_rtnl_linux.go method netClassRTNLUpdate (line 40) | func (c *netClassCollector) netClassRTNLUpdate(ch chan<- prometheus.Metr... method getNetClassInfoRTNL (line 198) | func (c *netClassCollector) getNetClassInfoRTNL() ([]rtnetlink.LinkMessa... method getLinkModes (line 211) | func (c *netClassCollector) getLinkModes() ([]*ethtool.LinkMode, error) { function getSysfsAttributes (line 225) | func getSysfsAttributes(links []rtnetlink.LinkMessage) (sysfs.NetClass, ... FILE: collector/netdev_aix.go function getNetDevStats (line 24) | func getNetDevStats(filter *deviceFilter, logger *slog.Logger) (netDevSt... function getNetDevLabels (line 54) | func getNetDevLabels() (map[string]map[string]string, error) { FILE: collector/netdev_bsd.go function getNetDevStats (line 33) | func getNetDevStats(filter *deviceFilter, logger *slog.Logger) (netDevSt... function getNetDevLabels (line 72) | func getNetDevLabels() (map[string]map[string]string, error) { FILE: collector/netdev_common.go type netDevCollector (line 39) | type netDevCollector struct method metricDesc (line 93) | func (c *netDevCollector) metricDesc(key string, labels []string) *pro... method Update (line 109) | func (c *netDevCollector) Update(ch chan<- prometheus.Metric) error { type netDevStats (line 47) | type netDevStats function init (line 49) | func init() { function NewNetDevCollector (line 54) | func NewNetDevCollector(logger *slog.Logger) (Collector, error) { type addrInfo (line 157) | type addrInfo struct function scope (line 164) | func scope(ip net.IP) string { function getAddrsInfo (line 181) | func getAddrsInfo(interfaces []net.Interface, filter *deviceFilter, logg... function legacy (line 210) | func legacy(metrics map[string]uint64) { function pop (line 246) | func pop(m map[string]uint64, key string) (uint64, bool) { function popz (line 252) | func popz(m map[string]uint64, key string) uint64 { FILE: collector/netdev_darwin.go function getNetDevStats (line 29) | func getNetDevStats(filter *deviceFilter, logger *slog.Logger) (netDevSt... function getIfaceData (line 67) | func getIfaceData(index int) (*ifMsghdr2, error) { type ifMsghdr2 (line 119) | type ifMsghdr2 struct type ifData64 (line 135) | type ifData64 struct type ifMibData (line 166) | type ifMibData struct function getNetDevLabels (line 177) | func getNetDevLabels() (map[string]map[string]string, error) { FILE: collector/netdev_linux.go function getNetDevStats (line 33) | func getNetDevStats(filter *deviceFilter, logger *slog.Logger) (netDevSt... function netlinkStats (line 40) | func netlinkStats(filter *deviceFilter, logger *slog.Logger) (netDevStat... function parseNetlinkStats (line 55) | func parseNetlinkStats(links []rtnetlink.LinkMessage, filter *deviceFilt... function procNetDevStats (line 144) | func procNetDevStats(filter *deviceFilter, logger *slog.Logger) (netDevS... function getNetDevLabels (line 188) | func getNetDevLabels() (map[string]map[string]string, error) { FILE: collector/netdev_linux_test.go function TestNetDevStatsIgnore (line 165) | func TestNetDevStatsIgnore(t *testing.T) { function TestNetDevStatsAccept (line 199) | func TestNetDevStatsAccept(t *testing.T) { function TestNetDevLegacyMetricNames (line 211) | func TestNetDevLegacyMetricNames(t *testing.T) { function TestNetDevLegacyMetricValues (line 244) | func TestNetDevLegacyMetricValues(t *testing.T) { function TestNetDevMetricValues (line 285) | func TestNetDevMetricValues(t *testing.T) { FILE: collector/netdev_openbsd.go function getNetDevStats (line 31) | func getNetDevStats(filter *deviceFilter, logger *slog.Logger) (netDevSt... function getNetDevLabels (line 73) | func getNetDevLabels() (map[string]map[string]string, error) { FILE: collector/netdev_openbsd_amd64.go function getNetDevStats (line 26) | func getNetDevStats(filter *deviceFilter, logger *slog.Logger) (netDevSt... function getNetDevLabels (line 79) | func getNetDevLabels() (map[string]map[string]string, error) { FILE: collector/netinterface_aix.go type netinterfaceCollector (line 25) | type netinterfaceCollector struct method Update (line 69) | func (c *netinterfaceCollector) Update(ch chan<- prometheus.Metric) er... constant netinterfaceSubsystem (line 35) | netinterfaceSubsystem = "netinterface" function init (line 38) | func init() { function NewNetinterfaceCollector (line 42) | func NewNetinterfaceCollector(logger *slog.Logger) (Collector, error) { FILE: collector/netisr_freebsd.go type netisrCollector (line 25) | type netisrCollector struct method Update (line 88) | func (c *netisrCollector) Update(ch chan<- prometheus.Metric) error { constant netisrCollectorSubsystem (line 31) | netisrCollectorSubsystem = "netisr" function init (line 34) | func init() { function NewNetisrCollector (line 38) | func NewNetisrCollector(logger *slog.Logger) (Collector, error) { FILE: collector/netstat_freebsd.go type netStatCollector (line 52) | type netStatCollector struct method Describe (line 64) | func (c *netStatCollector) Describe(ch chan<- *prometheus.Desc) { method Collect (line 68) | func (c *netStatCollector) Collect(ch chan<- prometheus.Metric) { method Update (line 85) | func (c *netStatCollector) Update(ch chan<- prometheus.Metric) error { function init (line 56) | func init() { function NewNetStatCollector (line 60) | func NewNetStatCollector(logger *slog.Logger) (Collector, error) { function getData (line 72) | func getData(queryString string) ([]byte, error) { FILE: collector/netstat_freebsd_test.go function TestNetStatCollectorDescribe (line 26) | func TestNetStatCollectorDescribe(t *testing.T) { function TestGetData (line 39) | func TestGetData(t *testing.T) { function TestNetStatCollectorUpdate (line 50) | func TestNetStatCollectorUpdate(t *testing.T) { function TestNewNetStatCollector (line 69) | func TestNewNetStatCollector(t *testing.T) { FILE: collector/netstat_linux.go constant netStatsSubsystem (line 35) | netStatsSubsystem = "netstat" type netStatCollector (line 42) | type netStatCollector struct method Update (line 61) | func (c *netStatCollector) Update(ch chan<- prometheus.Metric) error { function init (line 47) | func init() { function NewNetStatCollector (line 53) | func NewNetStatCollector(logger *slog.Logger) (Collector, error) { function getNetStats (line 101) | func getNetStats(fileName string) (map[string]map[string]string, error) { function parseNetStats (line 111) | func parseNetStats(r io.Reader, fileName string) (map[string]map[string]... function getSNMP6Stats (line 136) | func getSNMP6Stats(fileName string) (map[string]map[string]string, error) { function parseSNMP6Stats (line 152) | func parseSNMP6Stats(r io.Reader) (map[string]map[string]string, error) { FILE: collector/netstat_linux_test.go function TestNetStats (line 23) | func TestNetStats(t *testing.T) { function testNetStats (line 29) | func testNetStats(t *testing.T, fileName string) { function testSNMPStats (line 50) | func testSNMPStats(t *testing.T, fileName string) { function testSNMP6Stats (line 71) | func testSNMP6Stats(t *testing.T, fileName string) { FILE: collector/network_route_linux.go type networkRouteCollector (line 29) | type networkRouteCollector struct method Update (line 59) | func (n networkRouteCollector) Update(ch chan<- prometheus.Metric) err... function init (line 35) | func init() { function NewNetworkRouteCollector (line 40) | func NewNetworkRouteCollector(logger *slog.Logger) (Collector, error) { function networkRouteIPWithPrefixToString (line 134) | func networkRouteIPWithPrefixToString(ip net.IP, len uint8) string { function networkRouteIPToString (line 149) | func networkRouteIPToString(ip net.IP) string { function networkRouteProtocolToString (line 156) | func networkRouteProtocolToString(protocol uint8) string { FILE: collector/nfs_linux.go constant nfsSubsystem (line 30) | nfsSubsystem = "nfs" type nfsCollector (line 33) | type nfsCollector struct method Update (line 97) | func (c *nfsCollector) Update(ch chan<- prometheus.Metric) error { method updateNFSNetworkStats (line 117) | func (c *nfsCollector) updateNFSNetworkStats(ch chan<- prometheus.Metr... method updateNFSClientRPCStats (line 127) | func (c *nfsCollector) updateNFSClientRPCStats(ch chan<- prometheus.Me... method updateNFSRequestsv2Stats (line 137) | func (c *nfsCollector) updateNFSRequestsv2Stats(ch chan<- prometheus.M... method updateNFSRequestsv3Stats (line 150) | func (c *nfsCollector) updateNFSRequestsv3Stats(ch chan<- prometheus.M... method updateNFSRequestsv4Stats (line 163) | func (c *nfsCollector) updateNFSRequestsv4Stats(ch chan<- prometheus.M... function init (line 44) | func init() { function NewNfsCollector (line 49) | func NewNfsCollector(logger *slog.Logger) (Collector, error) { FILE: collector/nfsd_linux.go type nfsdCollector (line 30) | type nfsdCollector struct method Update (line 63) | func (c *nfsdCollector) Update(ch chan<- prometheus.Metric) error { method updateNFSdReplyCacheStats (line 90) | func (c *nfsdCollector) updateNFSdReplyCacheStats(ch chan<- prometheus... method updateNFSdFileHandlesStats (line 121) | func (c *nfsdCollector) updateNFSdFileHandlesStats(ch chan<- prometheu... method updateNFSdInputOutputStats (line 135) | func (c *nfsdCollector) updateNFSdInputOutputStats(ch chan<- prometheu... method updateNFSdThreadsStats (line 157) | func (c *nfsdCollector) updateNFSdThreadsStats(ch chan<- prometheus.Me... method updateNFSdReadAheadCacheStats (line 170) | func (c *nfsdCollector) updateNFSdReadAheadCacheStats(ch chan<- promet... method updateNFSdNetworkStats (line 192) | func (c *nfsdCollector) updateNFSdNetworkStats(ch chan<- prometheus.Me... method updateNFSdServerRPCStats (line 219) | func (c *nfsdCollector) updateNFSdServerRPCStats(ch chan<- prometheus.... method updateNFSdRequestsv2Stats (line 250) | func (c *nfsdCollector) updateNFSdRequestsv2Stats(ch chan<- prometheus... method updateNFSdRequestsv3Stats (line 289) | func (c *nfsdCollector) updateNFSdRequestsv3Stats(ch chan<- prometheus... method updateNFSdRequestsv4Stats (line 336) | func (c *nfsdCollector) updateNFSdRequestsv4Stats(ch chan<- prometheus... function init (line 36) | func init() { constant nfsdSubsystem (line 41) | nfsdSubsystem = "nfsd" function NewNFSdCollector (line 45) | func NewNFSdCollector(logger *slog.Logger) (Collector, error) { FILE: collector/ntp.go constant hour24 (line 31) | hour24 = 24 * time.Hour constant ntpSubsystem (line 32) | ntpSubsystem = "ntp" type ntpCollector (line 50) | type ntpCollector struct method Update (line 127) | func (c *ntpCollector) Update(ch chan<- prometheus.Metric) error { function init (line 55) | func init() { function NewNtpCollector (line 63) | func NewNtpCollector(logger *slog.Logger) (Collector, error) { FILE: collector/nvme_linux.go type nvmeCollector (line 28) | type nvmeCollector struct method Update (line 98) | func (c *nvmeCollector) Update(ch chan<- prometheus.Metric) error { function init (line 39) | func init() { function NewNVMeCollector (line 44) | func NewNVMeCollector(logger *slog.Logger) (Collector, error) { FILE: collector/os_release.go constant etcOSRelease (line 35) | etcOSRelease = "/etc/os-release" constant usrLibOSRelease (line 36) | usrLibOSRelease = "/usr/lib/os-release" constant systemVersionPlist (line 37) | systemVersionPlist = "/System/Library/CoreServices/SystemVersion.plist" type osRelease (line 44) | type osRelease struct type osReleaseCollector (line 60) | type osReleaseCollector struct method UpdateStruct (line 129) | func (c *osReleaseCollector) UpdateStruct(path string) error { method Update (line 174) | func (c *osReleaseCollector) Update(ch chan<- prometheus.Metric) error { type Plist (line 72) | type Plist struct type Dict (line 76) | type Dict struct function init (line 81) | func init() { function NewOSCollector (line 86) | func NewOSCollector(logger *slog.Logger) (Collector, error) { function parseOSRelease (line 110) | func parseOSRelease(r io.Reader) (*osRelease, error) { function getMacosProductVersion (line 205) | func getMacosProductVersion(filename string) (*osRelease, error) { FILE: collector/os_release_test.go constant debianBullseye (line 25) | debianBullseye string = `PRETTY_NAME="Debian GNU/Linux 11 (bullseye)" constant nixosTapir (line 36) | nixosTapir string = `BUG_REPORT_URL="https://github.com/NixOS/nixpkgs/is... function TestParseOSRelease (line 51) | func TestParseOSRelease(t *testing.T) { function TestParseOSSupportEnd (line 94) | func TestParseOSSupportEnd(t *testing.T) { function TestUpdateStruct (line 120) | func TestUpdateStruct(t *testing.T) { FILE: collector/partition_aix.go type partitionCollector (line 25) | type partitionCollector struct method Update (line 91) | func (c *partitionCollector) Update(ch chan<- prometheus.Metric) error { constant partitionCollectorSubsystem (line 38) | partitionCollectorSubsystem = "partition" function init (line 41) | func init() { function NewPartitionCollector (line 45) | func NewPartitionCollector(logger *slog.Logger) (Collector, error) { FILE: collector/paths.go function procFilePath (line 32) | func procFilePath(name string) string { function sysFilePath (line 36) | func sysFilePath(name string) string { function rootfsFilePath (line 40) | func rootfsFilePath(name string) string { function udevDataFilePath (line 44) | func udevDataFilePath(name string) string { function rootfsStripPrefix (line 48) | func rootfsStripPrefix(path string) string { FILE: collector/paths_test.go function TestDefaultProcPath (line 23) | func TestDefaultProcPath(t *testing.T) { function TestCustomProcPath (line 37) | func TestCustomProcPath(t *testing.T) { function TestDefaultSysPath (line 51) | func TestDefaultSysPath(t *testing.T) { function TestCustomSysPath (line 65) | func TestCustomSysPath(t *testing.T) { FILE: collector/pcidevice_linux.go constant pcideviceSubsystem (line 32) | pcideviceSubsystem = "pcidevice" type pcideviceCollector (line 144) | type pcideviceCollector struct method Update (line 199) | func (c *pcideviceCollector) Update(ch chan<- prometheus.Metric) error { method loadPCIIds (line 357) | func (c *pcideviceCollector) loadPCIIds() { method getPCIVendorName (line 512) | func (c *pcideviceCollector) getPCIVendorName(vendorID string) string { method getPCIDeviceName (line 529) | func (c *pcideviceCollector) getPCIDeviceName(vendorID, deviceID strin... method getPCISubsystemName (line 550) | func (c *pcideviceCollector) getPCISubsystemName(vendorID, deviceID, s... method getPCIClassName (line 574) | func (c *pcideviceCollector) getPCIClassName(classID string) string { function init (line 157) | func init() { function NewPcideviceCollector (line 162) | func NewPcideviceCollector(logger *slog.Logger) (Collector, error) { FILE: collector/pcidevice_linux_test.go function TestPCICollectorWithNameResolution (line 31) | func TestPCICollectorWithNameResolution(t *testing.T) { type testPCICollector (line 67) | type testPCICollector struct method Collect (line 71) | func (tc *testPCICollector) Collect(ch chan<- prometheus.Metric) { method Describe (line 86) | func (tc *testPCICollector) Describe(ch chan<- *prometheus.Desc) { FILE: collector/perf_linux.go constant perfSubsystem (line 32) | perfSubsystem = "perf" function init (line 46) | func init() { function perfTracepointFlagToTracepoints (line 100) | func perfTracepointFlagToTracepoints(tracepointsFlag []string) ([]*perfT... function perfCPUFlagToCPUs (line 117) | func perfCPUFlagToCPUs(cpuFlag string) ([]int, error) { type perfTracepoint (line 162) | type perfTracepoint struct method label (line 168) | func (t *perfTracepoint) label() string { method tracepoint (line 173) | func (t *perfTracepoint) tracepoint() string { type perfCollector (line 182) | type perfCollector struct method Update (line 723) | func (c *perfCollector) Update(ch chan<- prometheus.Metric) error { method updateHardwareStats (line 742) | func (c *perfCollector) updateHardwareStats(ch chan<- prometheus.Metri... method updateSoftwareStats (line 827) | func (c *perfCollector) updateSoftwareStats(ch chan<- prometheus.Metri... method updateCacheStats (line 880) | func (c *perfCollector) updateCacheStats(ch chan<- prometheus.Metric) ... type perfTracepointCollector (line 194) | type perfTracepointCollector struct method update (line 205) | func (c *perfTracepointCollector) update(ch chan<- prometheus.Metric) ... method updateCPU (line 215) | func (c *perfTracepointCollector) updateCPU(cpu int, ch chan<- prometh... function newPerfTracepointCollector (line 240) | func newPerfTracepointCollector( function NewPerfCollector (line 302) | func NewPerfCollector(logger *slog.Logger) (Collector, error) { FILE: collector/perf_linux_test.go function canTestPerf (line 30) | func canTestPerf(t *testing.T) { function TestPerfCollector (line 45) | func TestPerfCollector(t *testing.T) { function TestPerfCollectorStride (line 66) | func TestPerfCollectorStride(t *testing.T) { function TestPerfCPUFlagToCPUs (line 121) | func TestPerfCPUFlagToCPUs(t *testing.T) { function TestPerfTracepointFlagToTracepoints (line 194) | func TestPerfTracepointFlagToTracepoints(t *testing.T) { FILE: collector/powersupplyclass.go type powerSupplyClassCollector (line 30) | type powerSupplyClassCollector struct function init (line 37) | func init() { function NewPowerSupplyClassCollector (line 41) | func NewPowerSupplyClassCollector(logger *slog.Logger) (Collector, error) { FILE: collector/powersupplyclass_darwin.go method Update (line 190) | func (c *powerSupplyClassCollector) Update(ch chan<- prometheus.Metric) ... function getPowerSourceList (line 265) | func getPowerSourceList() ([]*C.struct_macos_powersupply, error) { function getPowerSourceDescriptorMap (line 310) | func getPowerSourceDescriptorMap(info *C.struct_macos_powersupply) map[s... function getPowerSourceDescriptorLabels (line 328) | func getPowerSourceDescriptorLabels(info *C.struct_macos_powersupply) ma... function getPowerSourceDescriptorState (line 338) | func getPowerSourceDescriptorState(info *C.struct_macos_powersupply) map... function getPowerSourceDescriptorBatteryHealth (line 352) | func getPowerSourceDescriptorBatteryHealth(info *C.struct_macos_powersup... function convertValue (line 370) | func convertValue(value *C.int) *float64 { function scaleValue (line 380) | func scaleValue(value *C.int, scale float64) *float64 { function minutesToSeconds (line 395) | func minutesToSeconds(minutes *C.int) *float64 { function pushEnumMetric (line 408) | func pushEnumMetric(ch chan<- prometheus.Metric, values map[string]float... FILE: collector/powersupplyclass_linux.go method Update (line 29) | func (c *powerSupplyClassCollector) Update(ch chan<- prometheus.Metric) ... function pushPowerSupplyMetric (line 146) | func pushPowerSupplyMetric(ch chan<- prometheus.Metric, subsystem string... function getPowerSupplyClassInfo (line 157) | func getPowerSupplyClassInfo(ignore *regexp.Regexp) (sysfs.PowerSupplyCl... FILE: collector/pressure_linux.go constant psiResourceCPU (line 30) | psiResourceCPU = "cpu" constant psiResourceIO (line 31) | psiResourceIO = "io" constant psiResourceMemory (line 32) | psiResourceMemory = "memory" constant psiResourceIRQ (line 33) | psiResourceIRQ = "irq" type pressureStatsCollector (line 40) | type pressureStatsCollector struct method Update (line 101) | func (c *pressureStatsCollector) Update(ch chan<- prometheus.Metric) e... function init (line 53) | func init() { function NewPressureStatsCollector (line 58) | func NewPressureStatsCollector(logger *slog.Logger) (Collector, error) { FILE: collector/processes_linux.go type processCollector (line 32) | type processCollector struct method Update (line 85) | func (c *processCollector) Update(ch chan<- prometheus.Metric) error { method getAllocatedThreads (line 116) | func (c *processCollector) getAllocatedThreads() (int, map[string]int3... method getThreadStates (line 148) | func (c *processCollector) getThreadStates(pid int, pidStat procfs.Pro... method isIgnoredError (line 187) | func (c *processCollector) isIgnoredError(err error) bool { function init (line 43) | func init() { function NewProcessStatCollector (line 48) | func NewProcessStatCollector(logger *slog.Logger) (Collector, error) { FILE: collector/processes_linux_test.go function TestReadProcessStatus (line 27) | func TestReadProcessStatus(t *testing.T) { FILE: collector/qdisc_linux.go type qdiscStatCollector (line 30) | type qdiscStatCollector struct method Update (line 131) | func (c *qdiscStatCollector) Update(ch chan<- prometheus.Metric) error { function init (line 50) | func init() { function NewQdiscStatCollector (line 55) | func NewQdiscStatCollector(logger *slog.Logger) (Collector, error) { function testQdiscGet (line 119) | func testQdiscGet(fixtures string) ([]qdisc.QdiscInfo, error) { FILE: collector/rapl_linux.go constant raplCollectorSubsystem (line 30) | raplCollectorSubsystem = "rapl" type raplCollector (line 32) | type raplCollector struct method Update (line 70) | func (c *raplCollector) Update(ch chan<- prometheus.Metric) error { method joulesMetric (line 106) | func (c *raplCollector) joulesMetric(z sysfs.RaplZone, v float64) prom... method joulesMetricWithZoneLabel (line 127) | func (c *raplCollector) joulesMetricWithZoneLabel(z sysfs.RaplZone, v ... function init (line 39) | func init() { function NewRaplCollector (line 48) | func NewRaplCollector(logger *slog.Logger) (Collector, error) { FILE: collector/runit.go type runitCollector (line 28) | type runitCollector struct method Update (line 75) | func (c *runitCollector) Update(ch chan<- prometheus.Metric) error { function init (line 36) | func init() { function NewRunitCollector (line 41) | func NewRunitCollector(logger *slog.Logger) (Collector, error) { FILE: collector/schedstat_linux.go constant nsPerSec (line 28) | nsPerSec = 1e9 function NewSchedstatCollector (line 54) | func NewSchedstatCollector(logger *slog.Logger) (Collector, error) { type schedstatCollector (line 63) | type schedstatCollector struct method Update (line 72) | func (c *schedstatCollector) Update(ch chan<- prometheus.Metric) error { function init (line 68) | func init() { FILE: collector/selinux_linux.go type selinuxCollector (line 25) | type selinuxCollector struct method Update (line 60) | func (c *selinuxCollector) Update(ch chan<- prometheus.Metric) error { function init (line 32) | func init() { function NewSelinuxCollector (line 37) | func NewSelinuxCollector(logger *slog.Logger) (Collector, error) { FILE: collector/slabinfo_linux.go type slabinfoCollector (line 32) | type slabinfoCollector struct method Update (line 58) | func (c *slabinfoCollector) Update(ch chan<- prometheus.Metric) error { method activeObjects (line 78) | func (c *slabinfoCollector) activeObjects(label string, val int64) pro... method objects (line 89) | func (c *slabinfoCollector) objects(label string, val int64) prometheu... method objectSizeBytes (line 100) | func (c *slabinfoCollector) objectSizeBytes(label string, val int64) p... method objectsPerSlab (line 111) | func (c *slabinfoCollector) objectsPerSlab(label string, val int64) pr... method pagesPerSlab (line 122) | func (c *slabinfoCollector) pagesPerSlab(label string, val int64) prom... function init (line 40) | func init() { function NewSlabinfoCollector (line 44) | func NewSlabinfoCollector(logger *slog.Logger) (Collector, error) { FILE: collector/sockstat_linux.go constant sockStatSubsystem (line 29) | sockStatSubsystem = "sockstat" type sockStatCollector (line 35) | type sockStatCollector struct method Update (line 48) | func (c *sockStatCollector) Update(ch chan<- prometheus.Metric) error { method update (line 93) | func (c *sockStatCollector) update(ch chan<- prometheus.Metric, isIPv6... function init (line 39) | func init() { function NewSockStatCollector (line 44) | func NewSockStatCollector(logger *slog.Logger) (Collector, error) { FILE: collector/softirqs_common.go type softirqsCollector (line 26) | type softirqsCollector struct function init (line 32) | func init() { function NewSoftirqsCollector (line 37) | func NewSoftirqsCollector(logger *slog.Logger) (Collector, error) { FILE: collector/softirqs_linux.go method Update (line 29) | func (c *softirqsCollector) Update(ch chan<- prometheus.Metric) (err err... FILE: collector/softnet_linux.go type softnetCollector (line 27) | type softnetCollector struct method Update (line 96) | func (c *softnetCollector) Update(ch chan<- prometheus.Metric) error { constant softnetSubsystem (line 40) | softnetSubsystem = "softnet" function init (line 43) | func init() { function NewSoftnetCollector (line 48) | func NewSoftnetCollector(logger *slog.Logger) (Collector, error) { FILE: collector/stat_linux.go type statCollector (line 27) | type statCollector struct method Update (line 93) | func (c *statCollector) Update(ch chan<- prometheus.Metric) error { function init (line 41) | func init() { function NewStatCollector (line 46) | func NewStatCollector(logger *slog.Logger) (Collector, error) { FILE: collector/supervisord.go type supervisordCollector (line 37) | type supervisordCollector struct method isRunning (line 101) | func (c *supervisordCollector) isRunning(state int) bool { method Update (line 120) | func (c *supervisordCollector) Update(ch chan<- prometheus.Metric) err... function init (line 45) | func init() { function NewSupervisordCollector (line 50) | func NewSupervisordCollector(logger *slog.Logger) (Collector, error) { FILE: collector/swap_linux.go constant swapSubsystem (line 27) | swapSubsystem = "swap" type swapCollector (line 32) | type swapCollector struct method getSwapInfo (line 62) | func (c *swapCollector) getSwapInfo() ([]SwapsEntry, error) { method Update (line 78) | func (c *swapCollector) Update(ch chan<- prometheus.Metric) error { function init (line 37) | func init() { function NewSwapCollector (line 42) | func NewSwapCollector(logger *slog.Logger) (Collector, error) { type SwapsEntry (line 54) | type SwapsEntry struct FILE: collector/swap_linux_test.go function TestSwap (line 24) | func TestSwap(t *testing.T) { FILE: collector/sysctl_bsd.go type bsdSysctlType (line 29) | type bsdSysctlType constant bsdSysctlTypeUint32 (line 35) | bsdSysctlTypeUint32 bsdSysctlType = iota constant bsdSysctlTypeUint64 (line 36) | bsdSysctlTypeUint64 constant bsdSysctlTypeCLong (line 37) | bsdSysctlTypeCLong type bsdSysctl (line 42) | type bsdSysctl struct method Value (line 62) | func (b bsdSysctl) Value() (float64, error) { method getCLong (line 90) | func (b bsdSysctl) getCLong() (float64, error) { FILE: collector/sysctl_linux.go type sysctlCollector (line 34) | type sysctlCollector struct method Update (line 73) | func (c *sysctlCollector) Update(ch chan<- prometheus.Metric) error { method newMetrics (line 87) | func (c *sysctlCollector) newMetrics(s *sysctl) ([]prometheus.Metric, ... function init (line 40) | func init() { function NewSysctlCollector (line 44) | func NewSysctlCollector(logger *slog.Logger) (Collector, error) { type sysctl (line 131) | type sysctl struct method metricName (line 150) | func (s *sysctl) metricName() string { method newConstMetric (line 154) | func (s *sysctl) newConstMetric(v any) prometheus.Metric { method newIndexedMetrics (line 174) | func (s *sysctl) newIndexedMetrics(v any) []prometheus.Metric { method newMappedMetrics (line 198) | func (s *sysctl) newMappedMetrics(v any) ([]prometheus.Metric, error) { function newSysctl (line 137) | func newSysctl(include string, numeric bool) (*sysctl, error) { FILE: collector/sysctl_openbsd_amd64.go function int8ToString (line 23) | func int8ToString(a []int8) string { type _C_int (line 36) | type _C_int function errnoErr (line 40) | func errnoErr(e syscall.Errno) error { function _sysctl (line 54) | func _sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen... function sysctl (line 73) | func sysctl(mib []_C_int) ([]byte, error) { FILE: collector/systemd_linux.go constant minSystemdVersionSystemState (line 39) | minSystemdVersionSystemState = 212 type systemdCollector (line 63) | type systemdCollector struct method Update (line 182) | func (c *systemdCollector) Update(ch chan<- prometheus.Metric) error { method collectUnitStatusMetrics (line 282) | func (c *systemdCollector) collectUnitStatusMetrics(conn *dbus.Conn, c... method collectSockets (line 323) | func (c *systemdCollector) collectSockets(conn *dbus.Conn, ch chan<- p... method collectUnitStartTimeMetrics (line 357) | func (c *systemdCollector) collectUnitStartTimeMetrics(conn *dbus.Conn... method collectUnitTasksMetrics (line 378) | func (c *systemdCollector) collectUnitTasksMetrics(conn *dbus.Conn, ch... method collectTimers (line 410) | func (c *systemdCollector) collectTimers(conn *dbus.Conn, ch chan<- pr... method collectSummaryMetrics (line 428) | func (c *systemdCollector) collectSummaryMetrics(ch chan<- prometheus.... method collectSystemState (line 435) | func (c *systemdCollector) collectSystemState(conn *dbus.Conn, ch chan... method getAllUnits (line 459) | func (c *systemdCollector) getAllUnits(conn *dbus.Conn) ([]unit, error) { method getSystemdVersion (line 504) | func (c *systemdCollector) getSystemdVersion(conn *dbus.Conn) (float64... method getSystemdVirtualization (line 521) | func (c *systemdCollector) getSystemdVirtualization(conn *dbus.Conn) s... function init (line 85) | func init() { function NewSystemdCollector (line 90) | func NewSystemdCollector(logger *slog.Logger) (Collector, error) { function newSystemdDbusConn (line 448) | func newSystemdDbusConn() (*dbus.Conn, error) { type unit (line 455) | type unit struct function summarizeUnits (line 476) | func summarizeUnits(units []unit) map[string]float64 { function filterUnits (line 490) | func filterUnits(units []unit, includePattern, excludePattern *regexp.Re... FILE: collector/systemd_linux_test.go function getUnitListFixtures (line 28) | func getUnitListFixtures() [][]unit { function TestSystemdIgnoreFilter (line 93) | func TestSystemdIgnoreFilter(t *testing.T) { function TestSystemdIgnoreFilterDefaultKeepsAll (line 104) | func TestSystemdIgnoreFilterDefaultKeepsAll(t *testing.T) { function TestSystemdSummary (line 119) | func TestSystemdSummary(t *testing.T) { function testSummaryHelper (line 135) | func testSummaryHelper(t *testing.T, state string, actual float64, expec... FILE: collector/tapestats_linux.go type tapestatsCollector (line 33) | type tapestatsCollector struct method Update (line 123) | func (c *tapestatsCollector) Update(ch chan<- prometheus.Metric) error { function init (line 49) | func init() { function NewTapestatsCollector (line 55) | func NewTapestatsCollector(logger *slog.Logger) (Collector, error) { FILE: collector/tcpstat_linux.go type tcpConnectionState (line 29) | type tcpConnectionState method String (line 201) | func (st tcpConnectionState) String() string { constant tcpEstablished (line 33) | tcpEstablished tcpConnectionState = iota + 1 constant tcpSynSent (line 35) | tcpSynSent constant tcpSynRecv (line 37) | tcpSynRecv constant tcpFinWait1 (line 39) | tcpFinWait1 constant tcpFinWait2 (line 41) | tcpFinWait2 constant tcpTimeWait (line 43) | tcpTimeWait constant tcpClose (line 45) | tcpClose constant tcpCloseWait (line 47) | tcpCloseWait constant tcpLastAck (line 49) | tcpLastAck constant tcpListen (line 51) | tcpListen constant tcpClosing (line 53) | tcpClosing constant tcpRxQueuedBytes (line 55) | tcpRxQueuedBytes constant tcpTxQueuedBytes (line 57) | tcpTxQueuedBytes type tcpStatCollector (line 60) | type tcpStatCollector struct method Update (line 130) | func (c *tcpStatCollector) Update(ch chan<- prometheus.Metric) error { function init (line 65) | func init() { function NewTCPStatCollector (line 70) | func NewTCPStatCollector(logger *slog.Logger) (Collector, error) { type InetDiagSockID (line 83) | type InetDiagSockID struct type InetDiagReqV2 (line 94) | type InetDiagReqV2 struct method Serialize (line 105) | func (req *InetDiagReqV2) Serialize() []byte { method Len (line 109) | func (req *InetDiagReqV2) Len() int { constant sizeOfDiagRequest (line 103) | sizeOfDiagRequest = 0x38 type InetDiagMsg (line 113) | type InetDiagMsg struct function parseInetDiagMsg (line 126) | func parseInetDiagMsg(b []byte) *InetDiagMsg { function getTCPStats (line 155) | func getTCPStats(family uint8) (map[tcpConnectionState]float64, error) { function parseTCPStats (line 187) | func parseTCPStats(msgs []netlink.Message) (map[tcpConnectionState]float... FILE: collector/tcpstat_linux_test.go function Test_parseTCPStats (line 27) | func Test_parseTCPStats(t *testing.T) { FILE: collector/textfile.go type textFileCollector (line 45) | type textFileCollector struct method exportMTimes (line 160) | func (c *textFileCollector) exportMTimes(mtimes map[string]time.Time, ... method Update (line 183) | func (c *textFileCollector) Update(ch chan<- prometheus.Metric) error { method processFile (line 288) | func (c *textFileCollector) processFile(dir, name string, ch chan<- pr... function init (line 52) | func init() { function NewTextFileCollector (line 58) | func NewTextFileCollector(logger *slog.Logger) (Collector, error) { function convertMetricFamily (line 66) | func convertMetricFamily(metricFamily *dto.MetricFamily, ch chan<- prome... function hasTimestamps (line 318) | func hasTimestamps(parsedFamilies map[string]*dto.MetricFamily) bool { FILE: collector/textfile_test.go type collectorAdapter (line 34) | type collectorAdapter struct method Describe (line 39) | func (a collectorAdapter) Describe(ch chan<- *prometheus.Desc) { method Collect (line 46) | func (a collectorAdapter) Collect(ch chan<- prometheus.Metric) { function TestTextfileCollector (line 52) | func TestTextfileCollector(t *testing.T) { FILE: collector/thermal_darwin.go type thermCollector (line 57) | type thermCollector struct method Update (line 113) | func (c *thermCollector) Update(ch chan<- prometheus.Metric) error { constant thermal (line 65) | thermal = "thermal" function init (line 67) | func init() { function NewThermCollector (line 72) | func NewThermCollector(logger *slog.Logger) (Collector, error) { function fetchCPUPowerStatus (line 131) | func fetchCPUPowerStatus() (map[string]int, error) { type CFDict (line 152) | type CFDict function mappingCFDictToMap (line 154) | func mappingCFDictToMap(dict CFDict) map[string]int { function mappingCFStringToString (line 175) | func mappingCFStringToString(s C.CFStringRef) string { function mappingCFNumberLongToInt (line 194) | func mappingCFNumberLongToInt(n C.CFNumberRef) int { FILE: collector/thermal_darwin_amd64.go method updateTemperatures (line 20) | func (c *thermCollector) updateTemperatures(ch chan<- prometheus.Metric)... FILE: collector/thermal_darwin_arm64.go constant absoluteZeroCelsius (line 52) | absoluteZeroCelsius = -273.15 method updateTemperatures (line 54) | func (c *thermCollector) updateTemperatures(ch chan<- prometheus.Metric)... function cfStringToString (line 134) | func cfStringToString(s C.CFStringRef) string { FILE: collector/thermal_zone_linux.go constant coolingDevice (line 28) | coolingDevice = "cooling_device" constant thermalZone (line 29) | thermalZone = "thermal_zone" type thermalZoneCollector (line 31) | type thermalZoneCollector struct method Update (line 71) | func (c *thermalZoneCollector) Update(ch chan<- prometheus.Metric) err... function init (line 39) | func init() { function NewThermalZoneCollector (line 44) | func NewThermalZoneCollector(logger *slog.Logger) (Collector, error) { FILE: collector/time.go type timeCollector (line 25) | type timeCollector struct method Update (line 66) | func (c *timeCollector) Update(ch chan<- prometheus.Metric) error { function init (line 33) | func init() { function NewTimeCollector (line 39) | func NewTimeCollector(logger *slog.Logger) (Collector, error) { FILE: collector/time_linux.go method update (line 26) | func (c *timeCollector) update(ch chan<- prometheus.Metric) error { FILE: collector/time_other.go method update (line 22) | func (c *timeCollector) update(ch chan<- prometheus.Metric) error { FILE: collector/timex.go constant timeError (line 31) | timeError = 5 constant staNano (line 34) | staNano = 0x2000 constant nanoSeconds (line 37) | nanoSeconds = 1000000000 constant microSeconds (line 38) | microSeconds = 1000000 constant ppm16frac (line 41) | ppm16frac = 1000000.0 * 65536.0 type timexCollector (line 44) | type timexCollector struct method Update (line 163) | func (c *timexCollector) Update(ch chan<- prometheus.Metric) error { function init (line 65) | func init() { function NewTimexCollector (line 70) | func NewTimexCollector(logger *slog.Logger) (Collector, error) { FILE: collector/udp_queues_linux.go type udpQueuesCollector (line 29) | type udpQueuesCollector struct method Update (line 57) | func (c *udpQueuesCollector) Update(ch chan<- prometheus.Metric) error { function init (line 36) | func init() { function NewUDPqueuesCollector (line 41) | func NewUDPqueuesCollector(logger *slog.Logger) (Collector, error) { FILE: collector/uname.go type unameCollector (line 38) | type unameCollector struct method Update (line 59) | func (c *unameCollector) Update(ch chan<- prometheus.Metric) error { type uname (line 41) | type uname struct function init (line 50) | func init() { function NewUnameCollector (line 55) | func NewUnameCollector(logger *slog.Logger) (Collector, error) { FILE: collector/uname_bsd.go function getUname (line 24) | func getUname() (uname, error) { function parseHostNameAndDomainName (line 46) | func parseHostNameAndDomainName(utsname unix.Utsname) (hostname string, ... FILE: collector/uname_linux.go function getUname (line 20) | func getUname() (uname, error) { FILE: collector/utils/utils.go function SafeDereference (line 21) | func SafeDereference[T any](s ...*T) []T { function SafeBytesToString (line 38) | func SafeBytesToString(b []byte) string { FILE: collector/utils/utils_test.go function TestSafeBytesToString (line 20) | func TestSafeBytesToString(t *testing.T) { FILE: collector/vmstat_linux.go constant vmStatSubsystem (line 32) | vmStatSubsystem = "vmstat" type vmStatCollector (line 39) | type vmStatCollector struct method Update (line 57) | func (c *vmStatCollector) Update(ch chan<- prometheus.Metric) error { function init (line 44) | func init() { function NewvmStatCollector (line 49) | func NewvmStatCollector(logger *slog.Logger) (Collector, error) { FILE: collector/watchdog.go type watchdogCollector (line 28) | type watchdogCollector struct method Update (line 100) | func (c *watchdogCollector) Update(ch chan<- prometheus.Metric) error { function init (line 33) | func init() { function NewWatchdogCollector (line 38) | func NewWatchdogCollector(logger *slog.Logger) (Collector, error) { function toLabelValue (line 93) | func toLabelValue(ptr *string) string { FILE: collector/watchdog_test.go type testWatchdogCollector (line 29) | type testWatchdogCollector struct method Collect (line 33) | func (c testWatchdogCollector) Collect(ch chan<- prometheus.Metric) { method Describe (line 37) | func (c testWatchdogCollector) Describe(ch chan<- *prometheus.Desc) { function TestWatchdogStats (line 41) | func TestWatchdogStats(t *testing.T) { FILE: collector/wifi_linux.go type wifiCollector (line 31) | type wifiCollector struct method Update (line 181) | func (c *wifiCollector) Update(ch chan<- prometheus.Metric) error { method updateBSSStats (line 250) | func (c *wifiCollector) updateBSSStats(ch chan<- prometheus.Metric, de... method updateStationStats (line 263) | func (c *wifiCollector) updateStationStats(ch chan<- prometheus.Metric... function init (line 55) | func init() { type wifiStater (line 62) | type wifiStater interface function NewWifiCollector (line 70) | func NewWifiCollector(logger *slog.Logger) (Collector, error) { function mHzToHz (line 361) | func mHzToHz(mHz int) float64 { function bssStatusMode (line 365) | func bssStatusMode(status wifi.BSSStatus) string { function newWifiStater (line 381) | func newWifiStater(fixtures string) (wifiStater, error) { type mockWifiStater (line 393) | type mockWifiStater struct method unmarshalJSONFile (line 397) | func (s *mockWifiStater) unmarshalJSONFile(filename string, v any) err... method Close (line 406) | func (s *mockWifiStater) Close() error { return nil } method BSS (line 408) | func (s *mockWifiStater) BSS(ifi *wifi.Interface) (*wifi.BSS, error) { method Interfaces (line 419) | func (s *mockWifiStater) Interfaces() ([]*wifi.Interface, error) { method StationInfo (line 428) | func (s *mockWifiStater) StationInfo(ifi *wifi.Interface) ([]*wifi.Sta... FILE: collector/xfrm.go type xfrmCollector (line 26) | type xfrmCollector struct method Update (line 191) | func (c *xfrmCollector) Update(ch chan<- prometheus.Metric) error { function init (line 31) | func init() { function NewXfrmCollector (line 36) | func NewXfrmCollector(logger *slog.Logger) (Collector, error) { FILE: collector/xfrm_test.go type testXfrmCollector (line 29) | type testXfrmCollector struct method Collect (line 33) | func (c testXfrmCollector) Collect(ch chan<- prometheus.Metric) { method Describe (line 37) | func (c testXfrmCollector) Describe(ch chan<- *prometheus.Desc) { function TestXfrmStats (line 41) | func TestXfrmStats(t *testing.T) { FILE: collector/xfs_linux.go type xfsCollector (line 27) | type xfsCollector struct method Update (line 50) | func (c *xfsCollector) Update(ch chan<- prometheus.Metric) error { method updateXFSStats (line 64) | func (c *xfsCollector) updateXFSStats(ch chan<- prometheus.Metric, s *... function init (line 32) | func init() { function NewXFSCollector (line 37) | func NewXFSCollector(logger *slog.Logger) (Collector, error) { FILE: collector/zfs_common.go function init (line 18) | func init() { FILE: collector/zfs_freebsd.go type zfsCollector (line 24) | type zfsCollector struct method Update (line 266) | func (c *zfsCollector) Update(ch chan<- prometheus.Metric) error { constant zfsCollectorSubsystem (line 30) | zfsCollectorSubsystem = "zfs" function NewZFSCollector (line 33) | func NewZFSCollector(logger *slog.Logger) (Collector, error) { FILE: collector/zfs_linux.go constant kstatDataInt64 (line 38) | kstatDataInt64 = "3" constant kstatDataUint64 (line 39) | kstatDataUint64 = "4" type zfsCollector (line 51) | type zfsCollector struct method Update (line 84) | func (c *zfsCollector) Update(ch chan<- prometheus.Metric) error { method openProcFile (line 107) | func (c *zfsCollector) openProcFile(path string) (*os.File, error) { method updateZfsStats (line 119) | func (c *zfsCollector) updateZfsStats(subsystem string, ch chan<- prom... method updatePoolStats (line 138) | func (c *zfsCollector) updatePoolStats(ch chan<- prometheus.Metric) er... method parseProcfsFile (line 214) | func (c *zfsCollector) parseProcfsFile(reader io.Reader, fmtExt string... method parsePoolProcfsFile (line 256) | func (c *zfsCollector) parsePoolProcfsFile(reader io.Reader, zpoolPath... method parsePoolObjsetFile (line 297) | func (c *zfsCollector) parsePoolObjsetFile(reader io.Reader, zpoolPath... method parsePoolStateFile (line 338) | func (c *zfsCollector) parsePoolStateFile(reader io.Reader, zpoolPath ... method constSysctlMetric (line 370) | func (c *zfsCollector) constSysctlMetric(subsystem string, sysctl zfsS... method constPoolMetric (line 385) | func (c *zfsCollector) constPoolMetric(poolName string, sysctl zfsSysc... method constPoolObjsetMetric (line 401) | func (c *zfsCollector) constPoolObjsetMetric(poolName string, datasetN... method constPoolStateMetric (line 418) | func (c *zfsCollector) constPoolStateMetric(poolName string, stateName... function NewZFSCollector (line 61) | func NewZFSCollector(logger *slog.Logger) (Collector, error) { type zfsSysctl (line 433) | type zfsSysctl method metricName (line 435) | func (s zfsSysctl) metricName() string { FILE: collector/zfs_linux_test.go function TestArcstatsParsing (line 24) | func TestArcstatsParsing(t *testing.T) { function TestZfetchstatsParsing (line 61) | func TestZfetchstatsParsing(t *testing.T) { function TestZilParsing (line 97) | func TestZilParsing(t *testing.T) { function TestVdevCacheStatsParsing (line 133) | func TestVdevCacheStatsParsing(t *testing.T) { function TestXuioStatsParsing (line 169) | func TestXuioStatsParsing(t *testing.T) { function TestFmParsing (line 205) | func TestFmParsing(t *testing.T) { function TestDmuTxParsing (line 241) | func TestDmuTxParsing(t *testing.T) { function TestZpoolParsing (line 277) | func TestZpoolParsing(t *testing.T) { function TestZpoolObjsetParsingWithSpace (line 317) | func TestZpoolObjsetParsingWithSpace(t *testing.T) { function TestZpoolObjsetParsing (line 366) | func TestZpoolObjsetParsing(t *testing.T) { function TestAbdstatsParsing (line 406) | func TestAbdstatsParsing(t *testing.T) { function TestDbufstatsParsing (line 442) | func TestDbufstatsParsing(t *testing.T) { function TestDnodestatsParsing (line 478) | func TestDnodestatsParsing(t *testing.T) { function TestVdevMirrorstatsParsing (line 514) | func TestVdevMirrorstatsParsing(t *testing.T) { function TestPoolStateParsing (line 550) | func TestPoolStateParsing(t *testing.T) { FILE: collector/zfs_solaris.go type zfsCollector (line 26) | type zfsCollector struct method updateZfsAbdStats (line 185) | func (c *zfsCollector) updateZfsAbdStats(ch chan<- prometheus.Metric) ... method updateZfsArcStats (line 229) | func (c *zfsCollector) updateZfsArcStats(ch chan<- prometheus.Metric) ... method updateZfsFetchStats (line 288) | func (c *zfsCollector) updateZfsFetchStats(ch chan<- prometheus.Metric... method Update (line 320) | func (c *zfsCollector) Update(ch chan<- prometheus.Metric) error { constant zfsCollectorSubsystem (line 60) | zfsCollectorSubsystem = "zfs" function NewZFSCollector (line 63) | func NewZFSCollector(logger *slog.Logger) (Collector, error) { FILE: collector/zoneinfo_linux.go constant zoneinfoSubsystem (line 25) | zoneinfoSubsystem = "zoneinfo" type zoneinfoCollector (line 27) | type zoneinfoCollector struct method Update (line 52) | func (c *zoneinfoCollector) Update(ch chan<- prometheus.Metric) error { function init (line 34) | func init() { function NewZoneinfoCollector (line 39) | func NewZoneinfoCollector(logger *slog.Logger) (Collector, error) { function createGaugeMetricDescriptions (line 95) | func createGaugeMetricDescriptions() map[string]*prometheus.Desc { function createCounterMetricDescriptions (line 204) | func createCounterMetricDescriptions() map[string]*prometheus.Desc { FILE: node_exporter.go type handler (line 45) | type handler struct method ServeHTTP (line 79) | func (h *handler) ServeHTTP(w http.ResponseWriter, r *http.Request) { method innerHandler (line 127) | func (h *handler) innerHandler(filters ...string) (http.Handler, error) { function newHandler (line 57) | func newHandler(includeExporterMetrics bool, maxRequests int, logger *sl... function main (line 182) | func main() { FILE: node_exporter_test.go constant address (line 34) | address = "localhost:19100" function TestFileDescriptorLeak (line 37) | func TestFileDescriptorLeak(t *testing.T) { function TestHandlingOfDuplicatedMetrics (line 82) | func TestHandlingOfDuplicatedMetrics(t *testing.T) { function queryExporter (line 111) | func queryExporter(address string) error { function runCommandAndTests (line 129) | func runCommandAndTests(cmd *exec.Cmd, address string, fn func(pid int) ... FILE: tools/main.go function main (line 25) | func main() {