Versions in this module Expand all Collapse all v5 v5.9.4 May 6, 2024 v5.9.3 Dec 19, 2023 Changes in this version + const BusyAgentCount + const BusyAgentPercentage + const IdleAgentCount + const PollDurationHeader + const RunningJobsCount + const ScheduledJobsCount + const TotalAgentCount + const UnfinishedJobsCount + const WaitingJobsCount + var ErrUnauthorized = errors.New("unauthorized") + type Collector struct + Debug bool + DebugHttp bool + Endpoint string + Queues []string + Quiet bool + Timeout int + Token string + UserAgent string + func (c *Collector) Collect() (*Result, error) + type Result struct + Cluster string + Org string + PollDuration time.Duration + Queues map[string]map[string]int + Totals map[string]int + func (r Result) Dump() Other modules containing this package github.com/buildkite/buildkite-agent-metrics