Liking cljdoc? Tell your friends :D

clj-statsd

Send metrics to statsd.

Send metrics to statsd.
raw docstring

cfgclj

Atom holding the socket configuration

Atom holding the socket configuration
raw docstring

decrementclj

(decrement k)
(decrement k v)
(decrement k v rate)
(decrement k v rate tags)

Decrement a counter at specified rate, defaults to a one decrement with a 1.0 rate

Decrement a counter at specified rate, defaults to a one decrement
with a 1.0 rate
raw docstring

format-statclj

(format-stat prefix content tags)

format-tagsclj

(format-tags tags)

gaugeclj

(gauge k v)
(gauge k v rate)
(gauge k v rate tags)
(gauge k v rate tags {:keys [change]})

Send an arbitrary value.

Send an arbitrary value.
raw docstring

incrementclj

(increment k)
(increment k v)
(increment k v rate)
(increment k v rate tags)

Increment a counter at specified rate, defaults to a one increment with a 1.0 rate

Increment a counter at specified rate, defaults to a one increment
with a 1.0 rate
raw docstring

modify-gaugeclj

(modify-gauge k v)
(modify-gauge k v rate)
(modify-gauge k v rate tags)

Increment or decrement the value of a previously sent gauge

Increment or decrement the value of a previously sent gauge
raw docstring

publishclj

(publish content rate tags)

Send a metric over the network, based on the provided sampling rate. This should be a fully formatted statsd metric line.

Send a metric over the network, based on the provided sampling rate.
This should be a fully formatted statsd metric line.
raw docstring

round-millisclj

(round-millis v)

Given a numeric value of milliseconds, convert it to an integer value of milliseconds by rounding to the nearest millisecond if necessary.

Given a numeric value of milliseconds, convert it to an integer value of
milliseconds by rounding to the nearest millisecond if necessary.
raw docstring

send-statclj

(send-stat prefix content tags)

Send a raw metric over the network.

Send a raw metric over the network.
raw docstring

setupclj

(setup host port & opts)

Initialize configuration

Initialize configuration
raw docstring

sockagtclj

Agent holding the datagram socket

Agent holding the datagram socket
raw docstring

timingclj

(timing k v)
(timing k v rate)
(timing k v rate tags)

Time an event at specified rate, defaults to 1.0 rate

Time an event at specified rate, defaults to 1.0 rate
raw docstring

uniqueclj

(unique k v)
(unique k v tags)

Send an event, unique occurences of which per flush interval will be counted by the statsd server. We have no rate call signature here because that wouldn't make much sense.

Send an event, unique occurences of which per flush interval
will be counted by the statsd server. We have no rate call
signature here because that wouldn't make much sense.
raw docstring

with-sampled-timingcljmacro

(with-sampled-timing k rate & body)

Time the execution of the provided code, with sampling.

Time the execution of the provided code, with sampling.
raw docstring

with-tagged-timingcljmacro

(with-tagged-timing k rate tags & body)

Time the execution of the provided code, with sampling and tags.

Time the execution of the provided code, with sampling and tags.
raw docstring

with-timingcljmacro

(with-timing k & body)

Time the execution of the provided code.

Time the execution of the provided code.
raw docstring

with-timing-fnclj

(with-timing-fn f k rate tags)

Helper function for the timing macros. Time the execution of f, a function of no args, and then call timing with the other args.

Helper function for the timing macros. Time the execution of f, a function
of no args, and then call timing with the other args.
raw docstring

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

× close