Documentation ¶
Overview ¶
Package status implements the status of the agent
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CLCChecks ¶
type CLCChecks struct { Checks map[string]map[string]CLCStats `json:"Checks"` Workers Workers `json:"Workers"` }
CLCChecks is used to unmarshall the runner expvar payload for CLC Runner
func GetExpvarRunnerStats ¶
GetExpvarRunnerStats grabs the status of the runner from expvar and puts it into a CLCChecks struct
type CLCStats ¶
type CLCStats struct { AverageExecutionTime int `json:"AverageExecutionTime"` MetricSamples int `json:"MetricSamples"` HistogramBuckets int `json:"HistogramBuckets"` Events int `json:"Events"` LastExecFailed bool `json:"LastExecFailed"` }
CLCStats is used to unmarshall the stats needed from the runner expvar payload
func (*CLCStats) UnmarshalJSON ¶
UnmarshalJSON overwrites the unmarshall method for CLCStats
type WorkerInfo ¶
type WorkerInfo struct {
Utilization float64 `json:"Utilization"`
}
WorkerInfo is used to unmarshall the workers info needed from the runner expvar payload
type Workers ¶
type Workers struct { Count int `json:"Count"` Instances map[string]WorkerInfo `json:"Instances"` }
Workers is used to unmarshall the workers info needed from the runner expvar payload
Directories ¶
Path | Synopsis |
---|---|
Package clusteragent fetch information about the cluster agent
|
Package clusteragent fetch information about the cluster agent |
Package collector fetch information needed to render the 'collector' section of the status page.
|
Package collector fetch information needed to render the 'collector' section of the status page. |
Package endpoints fetch information needed to render the 'endpoints' section of the status page.
|
Package endpoints fetch information needed to render the 'endpoints' section of the status page. |
health
module
|
|
Package httpproxy implements the status provider interface
|
Package httpproxy implements the status provider interface |
Package jmx allows to set and collect information about JMX check
|
Package jmx allows to set and collect information about JMX check |
Package render has all the formating options for status output
|
Package render has all the formating options for status output |
Package systemprobe fetch information about the system probe
|
Package systemprobe fetch information about the system probe |
Click to show internal directories.
Click to hide internal directories.