MCPcopy
hub / github.com/netdata/netdata / Collector

Struct Collector

src/go/plugin/ibm.d/modules/mq/collector.go:14–29  ·  view source on GitHub ↗

Collector is the collector type.

Source from the content-addressed store, hash-verified

12
13// Collector is the collector type.
14type Collector struct {
15 framework.Collector
16 Config `yaml:",inline" json:",inline"` // Embed config to receive YAML unmarshal
17 client *pcf.Client
18
19 queueIncludeMatcher matcher.Matcher
20 queueExcludeMatcher matcher.Matcher
21
22 // Resolved effective intervals (auto-detected or user-configured)
23 effectiveStatisticsInterval int
24 effectiveSysTopicInterval int
25
26 // Warning throttling
27 warnMu sync.Mutex
28 warns map[string]time.Time
29}
30
31const warnThrottleInterval = 10 * time.Minute
32

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected