Skip to content

FiltersDelay

Brian L. Troutwine edited this page Dec 12, 2017 · 2 revisions

The delay filter is a filter to drop metrics which are older than a configurable number of seconds. The motivation here is to avoid sending points further down a pipeline if they are "too old", saving on processing and aggregation costs. "Too old" can only be understood in the context of a specific deployment.

Configuration

The delay filter configuration options are as follows:

  • tolerance :: the the maximum difference (in seconds) between the current time and a point's such that the point is allowed to pass this filter
  • forwards :: the filters and/or sinks to forward into [default: []]

The forward concept is described in detail here.

You may configure multiple delay filters.

Example

[filters]
  [filters.delay.ten_second]
  tolerance = 10
  forwards = ["sinks.console"]