   (-> (Counter/build)
       (.namespace app-name)
       (.name "http_requests_total")
-      (.labelNames (into-array String ["method" "status" "path"]))
+      (.labelNames (into-array String ["method" "status" "statusClass" "path"]))
       (.help "A counter of the total number of HTTP requests processed.")
       (.register registry)))
 

      (.buckets (double-array @histogram-buckets))
      (.namespace app-name)
      (.name "http_request_latency_seconds")
      (.labelNames (into-array String ["method" "status" "path"]))
      (.help "A histogram of the response latency for HTTP requests in seconds.")
      (.register registry)))


(ns prometheus.core
  (:require
    [clojure.string :as string])
  (:import
    (clojure.lang IObj)
    (java.io StringWriter)
