1. A method comprising: determining, by a system having a processor, an adaptive baseline that includes at least one statistical parameter based on values of a metric that are provided at irregular intervals; wherein the determining includes: computing the statistical parameter using a forgetting factor that causes different weights to be placed on the corresponding values of the metric; and calculating the forgetting factor based on a difference between the intervals.