Documentation ¶
Index ¶
- Constants
- func PrintSample(sample *model.Sample) string
- type ApiServerMetrics
- type ControllerManagerMetrics
- type KubeletMetrics
- type Metrics
- type MetricsCollection
- type MetricsGrabber
- func (g *MetricsGrabber) Grab() (MetricsCollection, error)
- func (g *MetricsGrabber) GrabFromApiServer() (ApiServerMetrics, error)
- func (g *MetricsGrabber) GrabFromControllerManager() (ControllerManagerMetrics, error)
- func (g *MetricsGrabber) GrabFromKubelet(nodeName string) (KubeletMetrics, error)
- func (g *MetricsGrabber) GrabFromScheduler() (SchedulerMetrics, error)
- type SchedulerMetrics
Constants ¶
View Source
const (
ProxyTimeout = 2 * time.Minute
)
Variables ¶
This section is empty.
Functions ¶
func PrintSample ¶
Types ¶
type ApiServerMetrics ¶
type ApiServerMetrics Metrics
func NewApiServerMetrics ¶
func NewApiServerMetrics() ApiServerMetrics
func (*ApiServerMetrics) Equal ¶
func (m *ApiServerMetrics) Equal(o ApiServerMetrics) bool
type ControllerManagerMetrics ¶
type ControllerManagerMetrics Metrics
func NewControllerManagerMetrics ¶
func NewControllerManagerMetrics() ControllerManagerMetrics
func (*ControllerManagerMetrics) Equal ¶
func (m *ControllerManagerMetrics) Equal(o ControllerManagerMetrics) bool
type KubeletMetrics ¶
type KubeletMetrics Metrics
func NewKubeletMetrics ¶
func NewKubeletMetrics() KubeletMetrics
func (*KubeletMetrics) Equal ¶
func (m *KubeletMetrics) Equal(o KubeletMetrics) bool
type Metrics ¶
func NewMetrics ¶
func NewMetrics() Metrics
type MetricsCollection ¶
type MetricsCollection struct { ApiServerMetrics ApiServerMetrics ControllerManagerMetrics ControllerManagerMetrics KubeletMetrics map[string]KubeletMetrics SchedulerMetrics SchedulerMetrics }
type MetricsGrabber ¶
type MetricsGrabber struct {
// contains filtered or unexported fields
}
func NewMetricsGrabber ¶
func (*MetricsGrabber) Grab ¶
func (g *MetricsGrabber) Grab() (MetricsCollection, error)
func (*MetricsGrabber) GrabFromApiServer ¶
func (g *MetricsGrabber) GrabFromApiServer() (ApiServerMetrics, error)
func (*MetricsGrabber) GrabFromControllerManager ¶
func (g *MetricsGrabber) GrabFromControllerManager() (ControllerManagerMetrics, error)
func (*MetricsGrabber) GrabFromKubelet ¶
func (g *MetricsGrabber) GrabFromKubelet(nodeName string) (KubeletMetrics, error)
func (*MetricsGrabber) GrabFromScheduler ¶
func (g *MetricsGrabber) GrabFromScheduler() (SchedulerMetrics, error)
type SchedulerMetrics ¶
type SchedulerMetrics Metrics
func NewSchedulerMetrics ¶
func NewSchedulerMetrics() SchedulerMetrics
func (*SchedulerMetrics) Equal ¶
func (m *SchedulerMetrics) Equal(o SchedulerMetrics) bool
Click to show internal directories.
Click to hide internal directories.