Kieker 1.9

kieker.tools.opad.filter
Class AnomalyDetectionFilter

java.lang.Object
  extended by kieker.analysis.analysisComponent.AbstractAnalysisComponent
      extended by kieker.analysis.plugin.AbstractPlugin
          extended by kieker.analysis.plugin.filter.AbstractFilterPlugin
              extended by kieker.tools.opad.filter.AnomalyDetectionFilter
All Implemented Interfaces:
IAnalysisComponent, IFilterPlugin, IPlugin

public class AnomalyDetectionFilter
extends AbstractFilterPlugin

This filter separates input values by their reach of a certain threshold (parameter). It takes events of type NamedDoubleTimeSeriesPoint and channels them into two output ports, depending on whether the threshold was reached or not. This filter has configuration properties for the (critical) threshold. Although the configuration of the critical threshold is possible, the value is currently not used by the filter.

Since:
1.9
Author:
Tillmann Carlos Bielefeld

Nested Class Summary
 
Nested classes/interfaces inherited from interface kieker.analysis.plugin.IPlugin
IPlugin.PluginInputPortReference, IPlugin.STATE
 
Field Summary
static String CONFIG_PROPERTY_NAME_THRESHOLD
           
static String CONFIG_PROPERTY_NAME_THRESHOLD_CRITICAL
           
static String CONFIG_PROPERTY_VALUE_THRESHOLD
           
static String CONFIG_PROPERTY_VALUE_THRESHOLD_CRITICAL
           
static String INPUT_PORT_ANOMALY_SCORE
           
static String OUTPUT_PORT_ANOMALY_SCORE_ELSE
           
static String OUTPUT_PORT_ANOMALY_SCORE_IF_ANOMALY
           
 
Fields inherited from class kieker.analysis.analysisComponent.AbstractAnalysisComponent
CONFIG_NAME
 
Constructor Summary
AnomalyDetectionFilter(Configuration configuration, IProjectContext projectContext)
           
 
Method Summary
 Configuration getCurrentConfiguration()
          This method should deliver a Configuration object containing the current configuration of this instance.
 void inputForecastAndMeasurement(StorableDetectionResult anomalyScore)
           
 
Methods inherited from class kieker.analysis.plugin.filter.AbstractFilterPlugin
init, terminate
 
Methods inherited from class kieker.analysis.plugin.AbstractPlugin
areAllRepositoryPortsConnected, connect, connect, getAllDisplayNames, getAllInputPortNames, getAllOutputPortNames, getAllRepositoryPortNames, getConnectedPlugins, getCurrentRepositories, getIncomingPlugins, getPluginDescription, getPluginName, getState, isConnectionAllowed, shutdown, start
 
Methods inherited from class kieker.analysis.analysisComponent.AbstractAnalysisComponent
getName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface kieker.analysis.plugin.IPlugin
connect, getAllDisplayNames, getAllInputPortNames, getAllOutputPortNames, getAllRepositoryPortNames, getConnectedPlugins, getCurrentRepositories, getName, getPluginDescription, getPluginName, getState
 

Field Detail

INPUT_PORT_ANOMALY_SCORE

public static final String INPUT_PORT_ANOMALY_SCORE
See Also:
Constant Field Values

OUTPUT_PORT_ANOMALY_SCORE_IF_ANOMALY

public static final String OUTPUT_PORT_ANOMALY_SCORE_IF_ANOMALY
See Also:
Constant Field Values

OUTPUT_PORT_ANOMALY_SCORE_ELSE

public static final String OUTPUT_PORT_ANOMALY_SCORE_ELSE
See Also:
Constant Field Values

CONFIG_PROPERTY_NAME_THRESHOLD

public static final String CONFIG_PROPERTY_NAME_THRESHOLD
See Also:
Constant Field Values

CONFIG_PROPERTY_NAME_THRESHOLD_CRITICAL

public static final String CONFIG_PROPERTY_NAME_THRESHOLD_CRITICAL
See Also:
Constant Field Values

CONFIG_PROPERTY_VALUE_THRESHOLD

public static final String CONFIG_PROPERTY_VALUE_THRESHOLD
See Also:
Constant Field Values

CONFIG_PROPERTY_VALUE_THRESHOLD_CRITICAL

public static final String CONFIG_PROPERTY_VALUE_THRESHOLD_CRITICAL
See Also:
Constant Field Values
Constructor Detail

AnomalyDetectionFilter

public AnomalyDetectionFilter(Configuration configuration,
                              IProjectContext projectContext)
Method Detail

getCurrentConfiguration

public Configuration getCurrentConfiguration()
Description copied from class: AbstractAnalysisComponent
This method should deliver a Configuration object containing the current configuration of this instance. In other words: The constructor should be able to use the given object to initialize a new instance of this class with the same intern properties.

Specified by:
getCurrentConfiguration in interface IAnalysisComponent
Specified by:
getCurrentConfiguration in interface IPlugin
Specified by:
getCurrentConfiguration in class AbstractAnalysisComponent
Returns:
A completely filled configuration object.

inputForecastAndMeasurement

public void inputForecastAndMeasurement(StorableDetectionResult anomalyScore)

Kieker 1.9

Copyright 2014 Kieker Project, http://kieker-monitoring.net