Aggregation

Collected data can be aggregated inside trailing windows defined by the Output resolution (see below). Choose one of:

  • None (Pass-through) No aggregation. All measurements pass through unchanged.

  • Time Weighted Average A mean that weights each measurement value by how long it was held within the window. Suited for unevenly spaced or event-driven inputs, illustrated by the example below:

    Example of trailing window with non-uniform distributed values

    Here the Time Weight Average is calculated like this:

  • Value Weighted Average (Arithmetic Mean) Sum of measurement values divided by the count of measurements in the window. Best when measurements arrive at a uniform cadence.

  • Minimum Value The minimum measurement value observed in the window.

  • Maximum Value The maximum measurement value observed in the window.

  • Sum of values The sum of all measurements in the window.

    Calculation of sum
  • Count The number of measurements observed in the window.

  • Standard deviation The sample standard deviation computed over the window.

    Calculation of standard deviation

Output Resolution

Output resolution defines the size of the aggregation window and the cadence of produced outputs.

  • 0 disables windowing. With Aggregation = None, this is a pure pass-through stream.

  • If you select any aggregation method other than None, the Output resolution must be > 0.

  • Example: With 1 minute output resolution, all samples within each minute are aggregated, and exactly one measurement is emitted per minute.

Resampling with Aggregation = None: If you keep Aggregation = None and set a non-zero Output resolution, the measurements are resampled to that cadence (both up- and downsampling). The Interpolation setting determines how measurements are estimated at the new timestamps. See the interpolation documentation.

Practical guidance

  • Pick Time Weighted Average for event-driven or irregular sources; Value Weighted Average for evenly sampled sources.

  • Choose an Output resolution that matches downstream needs (dashboards, analytics) while balancing bandwidth and fidelity.

  • If you don’t need aggregation but want a fixed cadence, set Aggregation = None and a non-zero Output resolution; pair it with the appropriate Interpolation mode.

Last updated

Was this helpful?