collector

package
v3.1.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 17, 2018 License: MIT Imports: 7 Imported by: 6

Documentation

Index

Constants

View Source
const (
	ScheduledJobsCount  = "ScheduledJobsCount"
	RunningJobsCount    = "RunningJobsCount"
	UnfinishedJobsCount = "UnfinishedJobsCount"
	IdleAgentCount      = "IdleAgentCount"
	BusyAgentCount      = "BusyAgentCount"
	TotalAgentCount     = "TotalAgentCount"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Collector

type Collector struct {
	Endpoint  string
	Token     string
	UserAgent string
	Queue     string
	Quiet     bool
	Debug     bool
	DebugHttp bool
}

func (*Collector) Collect

func (c *Collector) Collect() (*Result, error)

type Result

type Result struct {
	Totals map[string]int
	Queues map[string]map[string]int
}

func (Result) Dump

func (r Result) Dump()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL