Liking cljdoc? Tell your friends :D

resilience4clj-metrics

A small Clojure wraper around the resilience4j metrics module.

Requires Clojure 1.8 or later for JDK 8, and Clojure 1.10 or later for JDK 9+.

clojars badge

Quick Start

The following demonstrates how to register a circuit-breaker to report its metrics to the default metric registry from the metrics-clojure library and using the prefix my.namespace.

(require '[resilience4clj.circuit-breaker :as cb])
(require '[resilience4clj.circuit-breaker.metrics :as cbm])

(def my-breaker (cb/circuit-breaker :my-breaker))
(cbm/register! my-breaker {:prefix "my.namespace"})

License

Copyright © 2020 Thomas C. Taylor and contributors.

Distributed under the Eclipse Public License version 2.0.

Can you improve this documentation?Edit on GitHub

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close