Liking cljdoc? Tell your friends :D

riemann.instrumentation

Tracks Riemann performance data

Tracks Riemann performance data
raw docstring

Instrumentedcljprotocol

These things can be asked to report events about their performance and health.

These things can be asked to report events about their performance and
health.

eventsclj

(events this)

Returns a sequence of events describing the current state of the object.

Returns a sequence of events describing the current state of the
object.
sourceraw docstring

instrumented?clj

(instrumented? thingy)

Does a thingy provide instrumentation?

Does a thingy provide instrumentation?
sourceraw docstring

measure-latencycljmacro

(measure-latency metric & body)

Wraps body in a macro which reports its running time in nanoseconds to a Metric.

Wraps body in a macro which reports its running time in nanoseconds to a
Metric.
sourceraw docstring

nanos->millisclj

(nanos->millis nanos)

Convert nanoseconds to milliseconds.

Convert nanoseconds to milliseconds.
sourceraw docstring

rate+latencyclj

(rate+latency event)
(rate+latency ev quantiles)

Returns a Metric which can be updated with latency measurements. When asked for events, returns a rate of total throughput, plus the given quantiles of latency metrics. Takes an optional base event which is used as the template. Input latencies are in nanoseconds (for storage as longs), emits latencies as doubles in milliseconds.

Returns a Metric which can be updated with latency measurements. When asked
for events, returns a rate of total throughput, plus the given quantiles of
latency metrics. Takes an optional base event which is used as the template.
Input latencies are in nanoseconds (for storage as longs), emits latencies as
doubles in milliseconds.
sourceraw docstring

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

× close