ZFS Collector: Add fm functionality
Signed-Off-By: Joe Handzik <joseph.t.handzik@hpe.com>
This commit is contained in:
parent
05048c067d
commit
07c7ae733a
5 changed files with 72 additions and 0 deletions
|
|
@ -35,6 +35,7 @@ type zfsSubsystemName string
|
|||
|
||||
const (
|
||||
arc = zfsSubsystemName("zfsArc")
|
||||
fm = zfsSubsystemName("zfsFm")
|
||||
vdevCache = zfsSubsystemName("zfsVdevCache")
|
||||
xuio = zfsSubsystemName("zfsXuio")
|
||||
zfetch = zfsSubsystemName("zfsFetch")
|
||||
|
|
@ -91,6 +92,10 @@ func (c *zfsCollector) Update(ch chan<- prometheus.Metric) (err error) {
|
|||
err = c.updateXuioStats(ch)
|
||||
if err != nil { return err }
|
||||
|
||||
// Fm
|
||||
err = c.updateFm(ch)
|
||||
if err != nil { return err }
|
||||
|
||||
// Pool stats
|
||||
return c.updatePoolStats(ch)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue