Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Metrics ¶
type Metrics struct { LaunchTasks tally.Counter LaunchTasksFail tally.Counter LaunchTasksInvalid tally.Counter LaunchTasksInvalidOffers tally.Counter AcquireHostOffers tally.Counter AcquireHostOffersFail tally.Counter AcquireHostOffersInvalid tally.Counter AcquireHostOffersCount tally.Counter GetHosts tally.Counter GetHostsInvalid tally.Counter GetHostsCount tally.Counter KillTasks tally.Counter KillTasksFail tally.Counter ShutdownExecutors tally.Counter ShutdownExecutorsInvalid tally.Counter ShutdownExecutorsFail tally.Counter ReleaseHostOffers tally.Counter ReleaseHostOffersFail tally.Counter ReleaseHostsCount tally.Counter GetMesosMasterHostPort tally.Counter GetMesosMasterHostPortFail tally.Counter Elected tally.Gauge MesosConnected tally.Gauge HandlersRunning tally.Gauge ClusterCapacity tally.Counter ClusterCapacityFail tally.Counter RecoverySuccess tally.Counter RecoveryFail tally.Counter GetDrainingHosts tally.Counter GetDrainingHostsFail tally.Counter MarkHostDrained tally.Counter MarkHostDrainedFail tally.Counter WatchEventCancel tally.Counter WatchEventOverflow tally.Counter WatchCancelNotFound tally.Counter // Time takes to acquire lock in watch processor WatchProcessorLockDuration tally.Timer GetCqosAdvisorMetric tally.Counter GetCqosAdvisorMetricFail tally.Counter // contains filtered or unexported fields }
Metrics is a placeholder for all metrics in hostmgr.
func NewMetrics ¶
NewMetrics returns a new instance of hostmgr.Metrics.
func (*Metrics) RefreshClusterCapacityGauges ¶
func (m *Metrics) RefreshClusterCapacityGauges(response *hostsvc.ClusterCapacityResponse)
RefreshClusterCapacityGauges refreshes all the cluster capacity gauges
Click to show internal directories.
Click to hide internal directories.