create metrics.expose to expose metrics to the running application, in both
clojure and json formats.