                                  :requested-count 2
                                  :borrow-count 2
                                  :current-borrowed-instances 2})
-        (is (= (expected-metrics-values) (current-metrics-values)))
+
+        (let [expected-metrics (expected-metrics-values)
+              jruby-status-metrics (current-jruby-status-metrics)]
+          (is (= expected-metrics (current-metrics-values)))
+          (is (= expected-metrics (-> (current-jruby-status-metrics)
+                                      (jruby-status-metric-counters)))))
 
         ;; now we'll create a few more requests and tell them they may
         ;; try to proceed to the :borrowed-jruby phase; they won't

                                 :requested-count 2
                                 :borrow-count 2
                                 :current-borrowed-instances 2})
        (is (= (expected-metrics-values) (current-metrics-values)))

        ;; let's take a peek at the info about the borrowed instances.
        ;; the keys for `borrowed-instances` are the jruby instance ids.
        (is (= #{1 2} (set (keys @borrowed-instances))))
        (is (= #{"/foo/bar/async1" "/foo/baz/async2"}
              (set (map #(get-in % [:reason :request :uri]) (vals @borrowed-instances)))))
        (let [routes (set (map #(get-in % [:reason :request :route-info :route-id]) (vals @borrowed-instances)))]
          (is (= #{"foo-baz-:baz" "foo-bar-:bar"} routes)))
        (doseq [borrowed (vals @borrowed-instances)]
          (is (= :get (get-in borrowed [:reason :request :request-method])))
          (is (timestamp-after? start-time (:time borrowed))))

        ;; unblock both of our requests
        (coordinator/final-result coordinator 1)

                                 :borrow-count 2
                                 :return-count 2})

        (let [expected-metrics (expected-metrics-values)]
          (is (= expected-metrics (current-metrics-values)))
          (is (= expected-metrics (-> (current-jruby-status-metrics)
                                      (jruby-status-metric-counters)))))))))

(deftest ^:metrics borrowed-instances-test
  (with-metrics-test-env test-env default-test-config
