Initial XFS collector

This commit is contained in:
Matt Layher 2017-04-21 18:19:35 -04:00
commit 1feb091b36
No known key found for this signature in database
GPG key ID: 77BFE531397EDE94
11 changed files with 306 additions and 8 deletions

View file

@ -22,6 +22,11 @@ package xfs
// kernel source. Most counters are uint32s (same data types used in
// xfs_stats.h), but some of the "extended precision stats" are uint64s.
type Stats struct {
// The name of the filesystem used to source these statistics.
// If empty, this indicates aggregated statistics for all XFS
// filesystems on the host.
Name string
ExtentAllocation ExtentAllocationStats
AllocationBTree BTreeStats
BlockMapping BlockMappingStats