We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce6b006 commit 4dae6adCopy full SHA for 4dae6ad
grafoleancollector/collector.py
@@ -284,8 +284,9 @@ def fetch_job_configs(self, protocol):
284
elif sensor["default_interval"] is not None:
285
interval = sensor["default_interval"]
286
else:
287
- logging.warn("Interval not set, ignoring sensor {} on entity {}!".format(sensor_id, entity_id))
288
- continue
+ # some sensors might not be periodic, or their interval might not be specified in the same way as with periodic
+ # sensors - we allow bots to handle such cases by themselves:
289
+ interval = None
290
del sensor["default_interval"] # cleanup - nobody should need this anymore
291
292
sensors.append({
0 commit comments