22 Nov 2024 05:49 PM
Could you please let me know if there is an alternative to New Relic's EXTRAPOLATE command? This command is used to fill in missing gaps when calculating time-series data etc, ensuring smooth and continuous data representation.
To clarify the use case of EXTRAPOLATE and avoid confusion, I’ve included examples below.
Example Without EXTRAPOLATE:
Suppose you collect data for 1 hour, but your app fails to send data for 15 minutes. Your dataset might look like this:
Time Bucket. Count (count(*))
12:00 - 12:15 PM 10
12:15 - 12:30 PM 0
12:30 - 12:45 PM 0
12:45 - 1:00 PM. 10
Without extrapolation:
Example With EXTRAPOLATE:
New Relic uses the available data to fill in gaps by assuming consistent reporting during the missing time:
Time Bucket. Count (count(*)) Extrapolated Count
12:00 - 12:15 PM 10 10
12:15 - 12:30 PM Missing 10 (estimated)
12:30 - 12:45 PM Missing 10 (estimated)
12:45 - 1:00 PM 10 10
With extrapolation:
25 Nov 2024 05:28 AM
Hi Ganesh,
I think you can use default transformation.
Ex:
As you can see, this metric has been completed with the value 10 when the metric has no data.
Hope it helps.
Regards,
Elena.
20 Dec 2024 04:50 PM
Hi @erh_inetum
Thanks for the reply. But default transformation will work only for metrics. And I want something for bizevents if possible. On top of that, EXTRAPOLATE will actually update empty values precisely using algorithms and previous values, but setting up default value will always hardcode the value.