ZFS Collector: Move from camelcase to underscores for metric prefixes
Signed-Off-By: Joe Handzik <joseph.t.handzik@hpe.com>
This commit is contained in:
parent
e213ccbc57
commit
e5ee274a32
2 changed files with 424 additions and 424 deletions
|
|
@ -52,13 +52,13 @@ func NewZFSCollector() (Collector, error) {
|
|||
var z zfsCollector
|
||||
z.linuxProcpathBase = "spl/kstat/zfs"
|
||||
z.linuxPathMap = map[string]string{
|
||||
"zfsArc": "arcstats",
|
||||
"zfsDmuTx": "dmu_tx",
|
||||
"zfsFm": "fm",
|
||||
"zfsFetch": "zfetchstats",
|
||||
"zfsVdevCache": "vdev_cache_stats",
|
||||
"zfsXuio": "xuio_stats",
|
||||
"zfsZil": "zil",
|
||||
"zfs_arc": "arcstats",
|
||||
"zfs_dmu_tx": "dmu_tx",
|
||||
"zfs_fm": "fm",
|
||||
"zfs_zfetch": "zfetchstats",
|
||||
"zfs_vdev_cache": "vdev_cache_stats",
|
||||
"zfs_xuio": "xuio_stats",
|
||||
"zfs_zil": "zil",
|
||||
}
|
||||
return &z, nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue