looks to me like there is no clearing event for when an aggregating datasource is fixed. also, i think the dedup id will only show one error per datasource and if there was a clear, the event key would clear all errors potentially if one succeeeds:
if not targetValues:
if datasource.params['targets']:
msg = "No target values collected for datasource %s" % dsKey(datasource)
collectedEvents.append({
'summary': msg,
'eventKey': 'aggregatingDataSourcePlugin_novalues',
'severity': ZenEventClasses.Info if debug else ZenEventClasses.Debug,
})
logMethod = log.info if debug else log.debug
logMethod(msg)
looks to me like there is no clearing event for when an aggregating datasource is fixed. also, i think the dedup id will only show one error per datasource and if there was a clear, the event key would clear all errors potentially if one succeeeds:
if not targetValues:
if datasource.params['targets']:
msg = "No target values collected for datasource %s" % dsKey(datasource)
collectedEvents.append({
'summary': msg,
'eventKey': 'aggregatingDataSourcePlugin_novalues',
'severity': ZenEventClasses.Info if debug else ZenEventClasses.Debug,
})
logMethod = log.info if debug else log.debug
logMethod(msg)