Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CPUUsageInfo ¶
type Info ¶
type Info struct { Host string `json:"host"` CPUInfo *CPUInfo `json:"cpu_info"` CPUUsage *CPUUsageInfo `json:"cpu_usage"` MemoryUsage *MemoryUsageInfo `json:"memory_usage"` // Containing unused partitions. The key is path in lower case. // Note: deviceName is not used as the key, since TiDB and TiKV may return different deviceName for the same device. Partitions map[string]*PartitionInfo `json:"partitions"` // The source instance type that provides the partition info. PartitionProviderType string `json:"-"` // Instances in the current host. The key is instance address Instances map[string]*InstanceInfo `json:"instances"` }
func NewHostInfo ¶
type InstanceInfo ¶
type MemoryUsageInfo ¶
Click to show internal directories.
Click to hide internal directories.