Try StarTree Cloud: 30-day free trial

EVENTS

Adds an EVENT label to anomalies that happen during an event. Events are provided by an eventFetcher.
Used to filter anomalies that happen on holidays.

Inputs

  • The output of the detector. Labels are applied to the anomalies of this input.
{
  "sourcePlanNode": "anomalyDetector"
}
  • The output of an eventFetcher. It contains the events to use for labelling.
{
  "targetProperty": "current_events",
  "sourcePlanNode": "eventsDataFetcher",
  "sourceProperty": "events"
}

Parameters

namedescriptiondefault value
component.beforeHolidayMarginA period in ISO-8601 (opens in a new tab) format that corresponds to a period that is also impacted by the event. Eg if beforeEventMargin is P1D, if event happens on [Dec 24 0:00, Dec 25 0:00[, the label will be applied to anomalies happening on [Dec 23 0:00 and Dec 25 0:00[P0D (no margin)
component.afterHolidayMarginSame as beforeHolidayMargin at the end of the event.P0D (no margin)

Example

{
  "name": "root",
  "type": "PostProcessor",
  "params": {
    "type": "EVENT",
    "component.ignore": "true",
    "component.beforeHolidayMargin": "PT4H",
    "component.afterHolidayMargin": "PT4H"
  },
  "inputs": [
    {
      "sourcePlanNode": "anomalyDetector"
    },
    {
      "targetProperty": "current_events",
      "sourcePlanNode": "eventsDataFetcher",
      "sourceProperty": "events"
    }
  ]
}