function Analyzer(config) {
  config.updateInterval = config.updateInterval || 60 * 1000;
  config.qosAggregationInterval = config.qosAggregationInterval || 60 * 60 * 1000;
  config.pingHistory = config.pingHistory || 3 * 31 * 24 * 60 * 60 * 1000;
  this.config = config;
}
Analyzer constructor

The analyzer aggregates the ping data into QoS scores for checks and tags.

The constructor expects a configuration object as parameter, with these properties:
  updateInterval: Interval between each update of the QoS score in milliseconds, defaults to 1 minute
  qosAggregationInterval: Interval between each daily and hourly aggregation the QoS score in milliseconds, defaults to 1 hour
  pingHistory: Oldest ping and checkEvent age to keep in milliseconds, defaults to 3 months

@param {Object} Monitor configuration
@api   public