ZFS Collector: Add xuio_stats functionality
Signed-Off-By: Joe Handzik <joseph.t.handzik@hpe.com>
This commit is contained in:
parent
3c9e779989
commit
05048c067d
5 changed files with 80 additions and 0 deletions
|
|
@ -36,6 +36,7 @@ type zfsSubsystemName string
|
|||
const (
|
||||
arc = zfsSubsystemName("zfsArc")
|
||||
vdevCache = zfsSubsystemName("zfsVdevCache")
|
||||
xuio = zfsSubsystemName("zfsXuio")
|
||||
zfetch = zfsSubsystemName("zfsFetch")
|
||||
zil = zfsSubsystemName("zfsZil")
|
||||
zpoolSubsystem = zfsSubsystemName("zfsPool")
|
||||
|
|
@ -86,6 +87,10 @@ func (c *zfsCollector) Update(ch chan<- prometheus.Metric) (err error) {
|
|||
err = c.updateVdevCacheStats(ch)
|
||||
if err != nil { return err }
|
||||
|
||||
// XuioStats
|
||||
err = c.updateXuioStats(ch)
|
||||
if err != nil { return err }
|
||||
|
||||
// Pool stats
|
||||
return c.updatePoolStats(ch)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue