Skip to content

Commit afd088d

Browse files
committed
chore: bump version
1 parent 90b094d commit afd088d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import (
2525
"github.com/sirupsen/logrus"
2626
)
2727

28-
const version string = "1.0.2"
28+
const version string = "1.0.3"
2929

3030
var (
3131
showVersion = flag.Bool("version", false, "Print version information.")

pkg/system/storage/metrics.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ func collectDiskDrive(ctx context.Context, path string, cc *common.CollectorCont
139139
return
140140
}
141141

142-
// dl := []string{"host", "location", "model", "media_type", "name", "serial_number"}
142+
// Labels: host, location, model, media_type, name, serial_number
143143
l := []string{cc.Client().HostName(), d.GetLocation(), d.Model, d.MediaType, d.Name, d.SerialNumber}
144144
cc.RecordMetrics(
145145
prometheus.MustNewConstMetric(diskDriveCapacityDesc, prometheus.GaugeValue, d.CapacityBytes(), l...),

0 commit comments

Comments
 (0)