Publisher for sampling some JVM metrics
Publisher for sampling some JVM metrics
(div num den)
If denominator is zero it returns 0, instead of an exception
If denominator is zero it returns 0, instead of an exception
Gives the name of the object
Gives the name of the object
(get-name this)
(jvm-metrics-publisher {:keys [sampling-interval jvm-metrics] :as config})
(jvm-sample {:keys [memory gc threads jvm-attrs all]})
Samples the JVM runtime for some metrics. The metrics available are:
usage:
(jvm-sample {:memory true :gc true :threads true :jvm-attrs true})
or:
(jvm-sample {:all true})
Samples the JVM runtime for some metrics. The metrics available are: - Memory - Total memory - Heap memory - Non-heap memory - Memory pools - Garbage Collector - JVM attributes - Threads usage: ``` (jvm-sample {:memory true :gc true :threads true :jvm-attrs true}) ``` or: ``` (jvm-sample {:all true}) ```
(jvm-sample-attrs)
Captures JVM attributes
Captures JVM attributes
(jvm-sample-gc)
Captures JVM garbage collector metrics
Captures JVM garbage collector metrics
(jvm-sample-memory)
(jvm-sample-memory {:keys [pools] :as opts})
Captures JVM memory metrics
Captures JVM memory metrics
(jvm-sample-threads)
Captures JVM threads metrics
Captures JVM threads metrics
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close