Send metrics to statsd.
Send metrics to statsd.
(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
(format-stat prefix content tags)
(format-tags tags)
(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.
(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
(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
(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.
(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.
(send-stat prefix content tags)
Send a raw metric over the network.
Send a raw metric over the network.
(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
(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.
(with-sampled-timing k rate & body)
Time the execution of the provided code, with sampling.
Time the execution of the provided code, with sampling.
(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.
(with-timing k & body)
Time the execution of the provided code.
Time the execution of the provided code.
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close