         (let [min-point  (align-time from rollup)
               max-point  (align-time (apply min [to (now)]) rollup)]
           (if-let [series (and (seq paths)
-                               (par-fetch session fetch! paths tenant rollup
+                               (par-fetch session fetchq paths tenant rollup
                                           period min-point max-point))]
             (format "{\"from\":%s,\"to\":%s,\"step\":%s,\"series\":%s}"
                     min-point max-point rollup series)

  [session]
  (alia/prepare
   session
   (str
    "SELECT data,time FROM metric WHERE "
    "path = ? AND tenant = ? AND rollup = ? AND period = ? "
    "AND time >= ? AND time <= ?;")))


(defn useq

                         (let [points (object-array asize)
                               agg-fn (agg-fn-by-path %)
                               rows (->> (alia/execute
                                          session
                                          fetch!
                                          {:values [% tenant (int rollup)
                                                    (int period)
                                                    from to]
