Class Counter

  • All Implemented Interfaces:
    DetectionAgentInterface

    public final class Counter
    extends Object
    implements DetectionAgentInterface
    A simple data counter. This detector counts the number of data records corresponding to this label, subject and time window. Takes only one parameter:
    • time_window in seconds (default 3600 - 1h)
    Example configuration (2h.count.detection.yml):
     ---
     class_name:     be.cylab.mark.detection.Counter
     label:          detection.2h.count
     trigger_label:  data
     parameters: {
       time_window : 7200
     }
     
    Author:
    Thibault Debatty