       :number    (:number content)
       :duration  (:duration content)
       :result    (:result content)
-      :collected (timestamp)
+      :collected (util/timestamp)
       :collector {:name    :kuona-jenkins-collector
                   :version (util/get-project-version 'kuona-jenkins-collector)}
       :jenkins   content}}))

(defn collect-metrics
  [connection url]
  (log/info "Collecting metrics from" url)
  (let [build-jobs (jobs connection url)
        build-log (builds connection build-jobs)
        build-metrics (map #(make-build-metric connection url %) build-log)]
    build-metrics))

                  :url    (:url b)
                  :source b}) (:builds build))))

(defn read-jenkins-builds
  [connection jobs]
  (flatten (map #(read-build connection %) jobs)))

(defn make-build-metric
  [connection server build]
