Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change kilobytes_* to *_kilobytes #77

Merged
merged 1 commit into from
May 18, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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