diff --git a/sources/procfs.go b/sources/procfs.go index 0da1b652..89377f60 100644 --- a/sources/procfs.go +++ b/sources/procfs.go @@ -165,9 +165,9 @@ func (s *lustreSource) generateOSTMetricTemplates() error { {"job_stats", "job_get_info_total", getInfoHelp, s.counterMetric}, {"job_stats", "job_set_info_total", setInfoHelp, s.counterMetric}, {"job_stats", "job_quotactl_total", quotactlHelp, s.counterMetric}, - {"kbytesavail", "kilobytes_available", "Number of kilobytes readily available in the pool", s.gaugeMetric}, - {"kbytesfree", "kilobytes_free", "Number of kilobytes allocated to the pool", s.gaugeMetric}, - {"kbytestotal", "kilobytes_capacity", "Capacity of the pool in kilobytes", s.gaugeMetric}, + {"kbytesavail", "available_kilobytes", "Number of kilobytes readily available in the pool", s.gaugeMetric}, + {"kbytesfree", "free_kilobytes", "Number of kilobytes allocated to the pool", s.gaugeMetric}, + {"kbytestotal", "capacity_kilobytes", "Capacity of the pool in kilobytes", s.gaugeMetric}, {"lfsck_speed_limit", "lfsck_speed_limit", "Maximum operations per second LFSCK (Lustre filesystem verification) can run", s.gaugeMetric}, {"num_exports", "exports_total", "Total number of times the pool has been exported", s.counterMetric}, {"precreate_batch", "precreate_batch", "Maximum number of objects that can be included in a single transaction", s.gaugeMetric}, @@ -260,9 +260,9 @@ func (s *lustreSource) generateMGSMetricTemplates() error { {"blocksize", "blocksize_bytes", "Filesystem block size in bytes", s.gaugeMetric}, {"filesfree", "inodes_free", "The number of inodes (objects) available", s.gaugeMetric}, {"filestotal", "inodes_maximum", "The maximum number of inodes (objects) the filesystem can hold", s.gaugeMetric}, - {"kbytesavail", "kilobytes_available", "Number of kilobytes readily available in the pool", s.gaugeMetric}, - {"kbytesfree", "kilobytes_free", "Number of kilobytes allocated to the pool", s.gaugeMetric}, - {"kbytestotal", "kilobytes_capacity", "Capacity of the pool in kilobytes", s.gaugeMetric}, + {"kbytesavail", "available_kilobytes", "Number of kilobytes readily available in the pool", s.gaugeMetric}, + {"kbytesfree", "free_kilobytes", "Number of kilobytes allocated to the pool", s.gaugeMetric}, + {"kbytestotal", "capacity_kilobytes", "Capacity of the pool in kilobytes", s.gaugeMetric}, {"quota_iused_estimate", "quota_iused_estimate", "Returns '1' if a valid address is returned within the pool, referencing whether free space can be allocated", s.gaugeMetric}, }, } @@ -281,9 +281,9 @@ func (s *lustreSource) generateMDSMetricTemplates() error { {"blocksize", "blocksize_bytes", "Filesystem block size in bytes", s.gaugeMetric}, {"filesfree", "inodes_free", "The number of inodes (objects) available", s.gaugeMetric}, {"filestotal", "inodes_maximum", "The maximum number of inodes (objects) the filesystem can hold", s.gaugeMetric}, - {"kbytesavail", "kilobytes_available", "Number of kilobytes readily available in the pool", s.gaugeMetric}, - {"kbytesfree", "kilobytes_free", "Number of kilobytes allocated to the pool", s.gaugeMetric}, - {"kbytestotal", "kilobytes_capacity", "Capacity of the pool in kilobytes", s.gaugeMetric}, + {"kbytesavail", "available_kilobytes", "Number of kilobytes readily available in the pool", s.gaugeMetric}, + {"kbytesfree", "free_kilobytes", "Number of kilobytes allocated to the pool", s.gaugeMetric}, + {"kbytestotal", "capacity_kilobytes", "Capacity of the pool in kilobytes", s.gaugeMetric}, {"quota_iused_estimate", "quota_iused_estimate", "Returns '1' if a valid address is returned within the pool, referencing whether free space can be allocated", s.gaugeMetric}, }, } @@ -304,9 +304,9 @@ func (s *lustreSource) generateClientMetricTemplates() error { {"default_easize", "default_ea_size_bytes", "Default Extended Attribute (EA) size in bytes", s.gaugeMetric}, {"filesfree", "inodes_free", "The number of inodes (objects) available", s.gaugeMetric}, {"filestotal", "inodes_maximum", "The maximum number of inodes (objects) the filesystem can hold", s.gaugeMetric}, - {"kbytesavail", "kilobytes_available", "Number of kilobytes readily available in the pool", s.gaugeMetric}, - {"kbytesfree", "kilobytes_free", "Number of kilobytes allocated to the pool", s.gaugeMetric}, - {"kbytestotal", "kilobytes_capacity", "Capacity of the pool in kilobytes", s.gaugeMetric}, + {"kbytesavail", "available_kilobytes", "Number of kilobytes readily available in the pool", s.gaugeMetric}, + {"kbytesfree", "free_kilobytes", "Number of kilobytes allocated to the pool", s.gaugeMetric}, + {"kbytestotal", "capacity_kilobytes", "Capacity of the pool in kilobytes", s.gaugeMetric}, {"lazystatfs", "lazystatfs_enabled", "Returns '1' if lazystatfs (a non-blocking alternative to statfs) is enabled for the client", s.gaugeMetric}, {"max_easize", "maximum_ea_size_bytes", "Maximum Extended Attribute (EA) size in bytes", s.gaugeMetric}, {"max_read_ahead_mb", "maximum_read_ahead_megabytes", "Maximum number of megabytes to read ahead", s.gaugeMetric},