Emulation of Hystrix command/metrics. Experimental - in Alpha. See:
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
(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.
(make-command-metrics-reporter metrics-collectors)
(make-command-metrics-reporter metrics-collectors
{:keys [execution-semaphore circuit-breaker]})
(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.
(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`.
(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.
(make-thread-pool-metrics-reporter metrics-collectors thread-pool)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close