parent
3247ac79b6
commit
d2988bef78
|
@ -149,8 +149,6 @@ func (d *Docker) gatherInfo(acc telegraf.Accumulator) error {
|
||||||
map[string]string{"unit": "bytes"},
|
map[string]string{"unit": "bytes"},
|
||||||
now)
|
now)
|
||||||
// Get storage metrics
|
// Get storage metrics
|
||||||
//driverStatusRaw := []byte(info.DriverStatus)
|
|
||||||
//json.Unmarshal(driverStatusRaw, &driverStatus)
|
|
||||||
for _, rawData := range info.DriverStatus {
|
for _, rawData := range info.DriverStatus {
|
||||||
// Try to convert string to int (bytes)
|
// Try to convert string to int (bytes)
|
||||||
value, err := parseSize(rawData[1])
|
value, err := parseSize(rawData[1])
|
||||||
|
|
Loading…
Reference in New Issue