Skip to content

Commit

Permalink
Change kilobytes_* to *_kilobytes
Browse files Browse the repository at this point in the history
Fixes #76.

Signed-Off-By: Joe Handzik <joseph.t.handzik@hpe.com>
  • Loading branch information
Joe Handzik committed May 18, 2017
1 parent bfbf2e2 commit cada886
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions sources/procfs.go
Original file line number Diff line number Diff line change
Expand Up @@ -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},
Expand Down Expand Up @@ -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},
},
}
Expand All @@ -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},
},
}
Expand All @@ -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},
Expand Down

0 comments on commit cada886

Please # to comment.