Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitServiceHandler ¶
func InitServiceHandler( d *yarpc.Dispatcher, parent tally.Scope, drainer drainer.Drainer, hostPoolManager hostpool_mgr.HostPoolManager, hostMover hostmover.HostMover)
InitServiceHandler initializes the HostService
Types ¶
type Metrics ¶
type Metrics struct { StartMaintenanceAPI tally.Counter StartMaintenanceSuccess tally.Counter StartMaintenanceFail tally.Counter CompleteMaintenanceAPI tally.Counter CompleteMaintenanceSuccess tally.Counter CompleteMaintenanceFail tally.Counter QueryHostsAPI tally.Counter QueryHostsSuccess tally.Counter QueryHostsFail tally.Counter }
Metrics is a placeholder for all metrics in host.svc
func NewMetrics ¶
NewMetrics returns a new instance of host.svc.Metrics
Click to show internal directories.
Click to hide internal directories.