datalogd.plugins.sinktimer_datafilter module¶
- class datalogd.plugins.sinktimer_datafilter.SinkTimerDataFilter(sinks=[], info=0.1, warning=0.5)[source]¶
Bases:
DataFilterTime how long each sink takes to receive data and warn if any exceed a given threshold.
This filter may be used for testing and debugging. If a sink takes longer than a given time to process data, report the event using the python logging system. Two levels of reporting are enabled, controlled by the
infoandwarningparameters. These parameters are the threshold times, in seconds.- Parameters:
info – Threshold time to log at the “info” level.
warning – Threshold time to log at the “warning” level.