Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InternalMetricsHistory ¶
This class collects basic information about the cluster for the web UI's front page. For more detailed metrics collection use Prometheus.
func NewInternalMetricsHistory ¶
func NewInternalMetricsHistory(limit int) *InternalMetricsHistory
func (*InternalMetricsHistory) GetLimit ¶
func (h *InternalMetricsHistory) GetLimit() int
func (*InternalMetricsHistory) GetRecords ¶
func (h *InternalMetricsHistory) GetRecords() []*MetricsRecord
contract: the non-nil values are ordered by the time of addition may contains nil values, those should be handled (filtered) on the caller's side
func (*InternalMetricsHistory) Store ¶
func (h *InternalMetricsHistory) Store(totalApplications, totalContainers int)
Click to show internal directories.
Click to hide internal directories.