Relative Time

Relative time filter filters datapoints based on the time difference between a selected date feature and the data time feature of the pipeline

Configuration parameters

Parameter name and description Parameter values
1. Name Arbitrary String
2. Target feature List of features with date type
3. Operator
  • Equal to
  • Not equal to
  • Before
  • After
4. Offset Integer number
5. Unit
  • Second
  • Minute
  • Hour
  • Day
  • Week
  • Year
6. Computed metric
  • Passing
  • Failing
  • Passing percentage
  • Failing percentage
  • Total

Parameter details

Target feature

One of the date features used in the comparison. The second data time feature is the one specified when configuring a datapoint pipeline.

Operator

Compares target feature timestamp to pipeline data time feature (selected when configuring the datapoint pipeline)

  • Equal to: Filter out if both timestamps are equal to each other, second precision
  • Not equal to: Filter out if both timestamps are not equal to each other, second precision
  • Before: Filter out if target feature date is before pipeline data time feature date by a specified offset - e.g. offset 7 days will yield anomaly if target date is 8 days before pipeline date
  • After: Filter out if target feature date is after pipeline data time feature date by specified offset

Unit

The unit parameter allows you to set a suitable unit for your use case. All time differences are calculated in seconds, and then converted into the selected unit. E.g. choosing ‘Minute’ in the following example:

01/06 2022 18:14:19 - 01/06 2022 18:13:09 = 70 seconds = 1.17 minutes