go-graphite / carbonapi

Implementation of graphite API (graphite-web) in golang
Other
308 stars 140 forks source link

Add support for Graphite web holtWintersConfidenceArea #717

Closed carrieedwards closed 1 year ago

carrieedwards commented 1 year ago

This PR adds support for the Graphite web holtWintersConfidenceArea function. This function is defined in the Graphite web documentation as:

holtWintersConfidenceArea(seriesList, delta=3, bootstrapInterval='7d', seasonality='1d')
Performs a Holt-Winters forecast using the series as input data and plots the area between the upper and lower bands of the predicted forecast deviations.

For reference, this function is implemented in Graphite web here.

This PR also adds a test matching the holtWintersConfidenceArea test in Graphite web.