Liking cljdoc? Tell your friends :D

preflex.resilient.hystrix

Emulation of Hystrix command/metrics. Experimental - in Alpha.
See:
1. https://github.com/Netflix/Hystrix
2. https://github.com/Netflix/Hystrix/wiki/Metrics-and-Monitoring
3. https://github.com/Netflix/Hystrix/tree/master/hystrix-dashboard
4. https://github.com/Netflix/Hystrix/wiki/Dashboard
raw docstring

hystrix-latency-percentilesclj

source

make-command-metrics-collectorsclj

(make-command-metrics-collectors)
(make-command-metrics-collectors {:keys [bucket-count now-finder percentiles]
                                  :or {bucket-count 11
                                       now-finder u/now-millis
                                       percentiles
                                         hystrix-latency-percentiles}})

Make the default collectors as options for resilient primitives, required for Hystrix reporting.

Make the default collectors as options for resilient primitives, required for Hystrix reporting.
sourceraw docstring

make-command-metrics-reporterclj

(make-command-metrics-reporter metrics-collectors)
(make-command-metrics-reporter metrics-collectors
                               {:keys [execution-semaphore circuit-breaker]})
source

make-hystrix-command-metrics-sourceclj

(make-hystrix-command-metrics-source command-name
                                     metrics-reporter
                                     fallback-metrics-reporter)

Given command name, metrics reporter fn (fn []) -> map and fallback metric reporter fn (fn []) -> map construct and return a fn (fn []) -> HystrixCommandMetrics.

Given command name, metrics reporter fn `(fn []) -> map` and fallback metric reporter fn `(fn []) -> map` construct
and return a fn (fn []) -> HystrixCommandMetrics.
sourceraw docstring

make-hystrix-thread-pool-metrics-sourceclj

(make-hystrix-thread-pool-metrics-source thread-pool-name
                                         thread-pool-metrics-reporter)

Given thread-pool name and thread-pool metrics reporter fn (fn []) -> map construct and return a fn (fn []) -> HystrixThreadPoolMetrics.

Given thread-pool name and thread-pool metrics reporter fn `(fn []) -> map` construct and return a fn
`(fn []) -> HystrixThreadPoolMetrics`.
sourceraw docstring

make-thread-pool-metrics-collectorsclj

(make-thread-pool-metrics-collectors)
(make-thread-pool-metrics-collectors {:keys [bucket-count now-finder]
                                      :or {bucket-count 11
                                           now-finder u/now-millis}})

Make the default collectors as options for resilient primitives, required for Hystrix reporting.

Make the default collectors as options for resilient primitives, required for Hystrix reporting.
sourceraw docstring

make-thread-pool-metrics-reporterclj

(make-thread-pool-metrics-reporter metrics-collectors thread-pool)
source

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

× close