mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-11-23 12:30:46 +01:00
commit
a4dfffbd77
@ -299,6 +299,9 @@ func (c *zfsCollector) updateZfsFetchStats(ch chan<- prometheus.Metric) error {
|
||||
defer tok.Close()
|
||||
|
||||
ksZFSInfo, err := tok.Lookup("zfs", 0, "zfetchstats")
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
for k, v := range map[string]*prometheus.Desc{
|
||||
"hits": c.zfetchstatsHits,
|
||||
|
Loading…
Reference in New Issue
Block a user