Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CPUStatsConfig ¶ added in v0.8.1
type CPUStatsConfig struct {
MetricsConfigs map[string]MetricConfig `json:"metricsConfigs"`
}
type DiskStatsConfig ¶
type HostStatsConfig ¶
type HostStatsConfig struct {
MetricsConfigs map[string]MetricConfig `json:"metricsConfigs"`
}
type MemoryStatsConfig ¶ added in v0.8.1
type MemoryStatsConfig struct {
MetricsConfigs map[string]MetricConfig `json:"metricsConfigs"`
}
type MetricConfig ¶
type MetricConfig struct {
DisplayName string `json:"displayName"`
}
type SystemStatsConfig ¶
type SystemStatsConfig struct { CPUConfig CPUStatsConfig `json:"cpu"` DiskConfig DiskStatsConfig `json:"disk"` HostConfig HostStatsConfig `json:"host"` MemoryConfig MemoryStatsConfig `json:"memory"` InvokeIntervalString string `json:"invokeInterval"` InvokeInterval time.Duration `json:"-"` }
func (*SystemStatsConfig) ApplyConfiguration ¶
func (ssc *SystemStatsConfig) ApplyConfiguration() error
ApplyConfiguration applies default configurations.
func (*SystemStatsConfig) Validate ¶
func (ssc *SystemStatsConfig) Validate() error
Validate verifies whether the settings are valid.
Click to show internal directories.
Click to hide internal directories.