 
   #Default ignore
   ignore_fields.push("metric")
-  
+
   hash_points = []
   for col,i in columns
     if col in ignore_fields
       continue
     hash_points.push points[i]
-          
+
   hashCode(query_name + hash_points.join(""))
 
 ack_alert = (robot, msg, id, user) ->

      interval = nconf.get("ONE_HOUR_MS")*hours
      if cur_ts - ack_ts > interval
        new_alert(robot, msg, query_name, data, columns)
                    
    else
      created_ts = alert_obj.ts
      cur_ts = (new Date).getTime()


  buf += "\n"
  return buf


check_alert = (robot, msg, query_name, query, database) ->
  influx_clients[database].query(query, (e, results) ->
