diff --git a/input/system/crunchy_bridge/client.go b/input/system/crunchy_bridge/client.go index 579c1af3c..cfb6ee5e7 100644 --- a/input/system/crunchy_bridge/client.go +++ b/input/system/crunchy_bridge/client.go @@ -222,7 +222,7 @@ func (c *Client) GetLoadAverageMetrics() (*LoadAverageMetrics, error) { } func (c *Client) GetDiskUsageMetrics() (*DiskUsageMetrics, error) { - metricViews, err := c.getMetrics("load-average") + metricViews, err := c.getMetrics("disk-usage") if err != nil { return nil, err } diff --git a/input/system/crunchy_bridge/system.go b/input/system/crunchy_bridge/system.go index 05d9f4d5f..e09261013 100644 --- a/input/system/crunchy_bridge/system.go +++ b/input/system/crunchy_bridge/system.go @@ -89,9 +89,10 @@ func GetSystemState(config config.ServerConfig, logger *util.Logger) (system sta system.DataDirectoryPartition = "/" system.DiskPartitions = make(state.DiskPartitionMap) system.DiskPartitions["/"] = state.DiskPartition{ - DiskName: "default", - UsedBytes: diskUsageMetrics.DatabaseSize, - TotalBytes: uint64(clusterInfo.Storage * 1024 * 1024 * 1024), + DiskName: "default", + PartitionName: "default", + UsedBytes: diskUsageMetrics.DatabaseSize, + TotalBytes: uint64(clusterInfo.Storage) * 1024 * 1024 * 1024, } return