function Alert()

in grafana/alert/alert.js [1:20]


function Alert(opts) {
  opts = opts || {};
  this.conditions = [];

  this.state = {
    name: 'Panel Title alert',
    for: '15m',
    frequency: '5m',
    conditions: [],
    message: '',
    notifications: [],
    executionErrorState: 'keep_state',
    noDataState: 'keep_state',
    alertRuleTags: {},
    handler: 1,
  };

  this._init(opts);
  this._initConditions(opts);
}