Liking cljdoc? Tell your friends :D
Clojure only.

goose.metrics

Defines protocol for Metrics Backend.

Defines protocol for Metrics Backend.
- [Monitoring & Alerting wiki](https://github.com/nilenso/goose/wiki/Monitoring-&-Alerting)
raw docstring

Metricscljprotocol

Protocol that Metrics Backends should implement to publish Goose metrics to respective backends.

Protocol that Metrics Backends should implement
to publish Goose metrics to respective backends.
- [Guide to Custom Metrics Backend](https://github.com/nilenso/goose/wiki/Guide-to-Custom-Metrics-Backend)

enabled?clj

(enabled? this)

Returns true if metrics is enabled.

Returns true if metrics is enabled.

gaugeclj

(gauge this key value tags)

Set gauge of given key

Set gauge of given key

incrementclj

(increment this key value tags)

Increment given key by value.

Increment given key by value.

timingclj

(timing this key duration tags)

Record duration of given key.

Record duration of given key.
sourceraw docstring

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

× close