MCPcopy
hub / github.com/netdata/netdata / ClearErrors

Method ClearErrors

src/go/plugin/ibm.d/framework/state.go:151–153  ·  view source on GitHub ↗

ClearErrors removes all tracked errors

()

Source from the content-addressed store, hash-verified

149
150// ClearErrors removes all tracked errors
151func (s *CollectorState) ClearErrors() {
152 s.errors = make(map[string]error)
153}
154
155// NextIteration handles obsoletion and clears metrics for next iteration
156func (s *CollectorState) NextIteration(obsoletionTimeout int) {

Callers 1

CollectMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected