From 047958a49ce348da605c01b93b5a9e0096a72e52 Mon Sep 17 00:00:00 2001 From: varsha teratipally Date: Tue, 8 Dec 2020 02:27:22 +0000 Subject: [PATCH] changing the label names as per the standards --- pkg/systemstatsmonitor/labels.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkg/systemstatsmonitor/labels.go b/pkg/systemstatsmonitor/labels.go index e1133e60..4c1123eb 100644 --- a/pkg/systemstatsmonitor/labels.go +++ b/pkg/systemstatsmonitor/labels.go @@ -25,8 +25,8 @@ const directionLabel = "direction" // stateLabel labels the state of disk/memory/cpu usage, e.g.: "free", "used". const stateLabel = "state" -// fsTypeLabel labels the fst type of the disk, e.g.: "ext4", "ext2", "vfat" -const fsTypeLabel = "fstype" +// fsTypeLabel labels the fs type of the disk, e.g.: "ext4", "ext2", "vfat" +const fsTypeLabel = "fs_type" -// mountPointLabel labels the mountpoint of the monitored disk device -const mountOptionLabel = "mountoption" +// mountOptionLabel labels the mount_options of the monitored disk device +const mountOptionLabel = "mount_option"