def alerts(criteria: {}, tenants: nil)
      query = generate_query_params(criteria)
      uri = tenants ? '/admin/alerts/' : '/'
      ret = http_get(uri + query, multi_tenants_header(tenants))
      val = []
      ret.each { |a| val.push(Alert.new(a)) }
      val
    end
def alerts(criteria: {}, tenants: nil)
      query = generate_query_params(criteria)
      uri = tenants ? '/admin/alerts/' : '/'
      ret = http_get(uri + query, multi_tenants_header(tenants))
      val = []
      ret.each { |a| val.push(Alert.new(a)) }
      val
    end
List fired alerts
 @param [Hash] criteria optional query criteria
 @param [Array] tenants optional list of tenants. The elements of the array can be any object
   convertible to a string
 @return [Array<Alert>] List of alerts in the system. Can be empty