mirror of
https://github.com/replicatedhq/troubleshoot.git
synced 2026-04-15 07:16:34 +00:00
Merge pull request #361 from replicatedhq/laverya/rook-block-device-disk-stats
collect rook block device disk stats
This commit is contained in:
@@ -75,12 +75,18 @@ var CephCommands = []CephCommand{
|
||||
Format: "json",
|
||||
},
|
||||
{
|
||||
ID: "rgw-stats",
|
||||
ID: "rgw-stats", // the disk usage (and other stats) of each object store bucket
|
||||
Command: []string{"radosgw-admin", "bucket", "stats"},
|
||||
Args: []string{"--rgw-cache-enabled=false"},
|
||||
Format: "json",
|
||||
Format: "txt",
|
||||
DefaultTimeout: "30s", // include a default timeout because this command will hang if the RGW daemon isn't running/is unhealthy
|
||||
},
|
||||
{
|
||||
ID: "rbd-du", // the disk usage of each PVC
|
||||
Command: []string{"rbd", "du"},
|
||||
Args: []string{"--pool=replicapool"},
|
||||
Format: "txt",
|
||||
},
|
||||
}
|
||||
|
||||
func Ceph(c *Collector, cephCollector *troubleshootv1beta2.Ceph) (map[string][]byte, error) {
|
||||
|
||||
Reference in New Issue
Block a user