Join us at the Dash conference! July 16-17, NYC

Interpolation

Fill

Function Description Example
fill() Interpolate missing metric values for the metric. <METRIC_NAME>{*}.fill(<METHOD>, <LIMIT>)

The fill() function has two parameters:

  • METHOD: The function to use as an interpolation method; choose from:

    • linear: Gives you a linear interpolation between the beginning and the end of the gap.
    • last: Fills the gap with the last value of the gap.
    • zero: Fills the gap with a zero value.
    • null: Deactivates the interpolation.
  • LIMIT: The interpolation limit (in seconds) that represents the maximum size of a gap you want to interpolate.

Other functions


Table of Contents