                           new-val (metric region)
                           old-val (or (get-in old-regions [name metric]) new-val)]
                       (/ (- new-val old-val) interval 0.001))))
-        new-regions (pmap #(assoc
-                             %
-                             :requests-rate       (diff-fn % :requests)
-                             :write-requests-rate (diff-fn % :write-requests)
-                             :read-requests-rate  (diff-fn % :read-requests)
-                             :compaction          ((juxt :compacted-kvs :total-compacting-kvs) %))
+        new-regions (pmap #(let [updated
+                                 (assoc
+                                   %
+                                   :requests-rate       (diff-fn % :requests)
+                                   :write-requests-rate (diff-fn % :write-requests)
+                                   :read-requests-rate  (diff-fn % :read-requests)
+                                   :compaction          ((juxt :compacted-kvs
+                                                               :total-compacting-kvs) %))]
+                             (assoc updated :html (build-region-popover updated)))
                           new-regions)
-        new-regions (pmap #(assoc % :html (build-region-popover %)) new-regions)
         group-by-server (group-by :server new-regions)
         servers (into {} (for [[k v] servers]
                            (let [v (merge v (calculate-locality (group-by-server k)))]

  "Builds a small HTML snippet for each server to be used in bootstrap popover"
  [props]
  (build-popover
    [:h3 (:name props)]
    [:regions
     :store-files
     :store-file-size-mb

            [ring.middleware.gzip :refer [wrap-gzip]]
            [compojure.core :refer [defroutes GET PUT routes wrap-routes]]
            [compojure.route :as route]
            [hiccup.util :refer [escape-html]]
            [selmer.parser :refer [render-file]]
            [hbase-region-inspector.hbase :as hbase]
            [hbase-region-inspector.util :as util]
