MCPcopy
hub / github.com/netdata/netdata / hasChartsForInstance

Method hasChartsForInstance

src/go/plugin/ibm.d/framework/collector.go:291–294  ·  view source on GitHub ↗

hasChartsForInstance checks if charts exist for a given instance

(instanceKey string)

Source from the content-addressed store, hash-verified

289
290// hasChartsForInstance checks if charts exist for a given instance
291func (c *Collector) hasChartsForInstance(instanceKey string) bool {
292 _, ok := c.instanceCharts[instanceKey]
293 return ok
294}
295
296// markChartsObsolete marks all charts for a given instance as obsolete
297func (c *Collector) markChartsObsolete(instanceKey string) {

Callers 1

convertMetricsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected