Liking cljdoc? Tell your friends :D

com.brunobonacci.mulog.publishers.jvm-metrics

Publisher for sampling some JVM metrics

Publisher for sampling some JVM metrics
raw docstring

capture-thread-statesclj

(capture-thread-states threads)
source

DEFAULT-CONFIGclj

source

detect-deadlocksclj

(detect-deadlocks threads)
source

divclj

(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
sourceraw docstring

get-thread-countclj

(get-thread-count state threads)
source

HasNamecljprotocol

Gives the name of the object

Gives the name of the object

get-nameclj

(get-name this)
sourceraw docstring

jvm-metrics-publisherclj

(jvm-metrics-publisher {:keys [sampling-interval jvm-metrics] :as config})
source

jvm-sampleclj

(jvm-sample {:keys [memory gc threads jvm-attrs all]})

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})
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})
```

sourceraw docstring

jvm-sample-attrsclj

(jvm-sample-attrs)

Captures JVM attributes

Captures JVM attributes
sourceraw docstring

jvm-sample-gcclj

(jvm-sample-gc)

Captures JVM garbage collector metrics

Captures JVM garbage collector metrics
sourceraw docstring

jvm-sample-memoryclj

(jvm-sample-memory)
(jvm-sample-memory {:keys [pools] :as opts})

Captures JVM memory metrics

Captures JVM memory metrics
sourceraw docstring

jvm-sample-threadsclj

(jvm-sample-threads)

Captures JVM threads metrics

Captures JVM threads metrics
sourceraw docstring

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

× close