Back to godoc.org

Package hostsvc

v0.0.0-...-a69e935
Latest Go to latest

The latest major version is .

Published: Oct 1, 2019 | License: Apache-2.0 | Module: github.com/uber/peloton

Index

func InitServiceHandler

func InitServiceHandler(
	d *yarpc.Dispatcher,
	parent tally.Scope,
	drainer drainer.Drainer,
	hostPoolManager hostpool_mgr.HostPoolManager,
	hostMover hostmover.HostMover)

InitServiceHandler initializes the HostService

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

func NewMetrics(scope tally.Scope) *Metrics

NewMetrics returns a new instance of host.svc.Metrics

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier