Liking cljdoc? Tell your friends :D

active.clojure.logger.metric

Facilities for logging metrics.

Facilities for logging metrics.
raw docstring

configure-metrics-loggingclj

(configure-metrics-logging riemann-config desc)

Returns an object that can be fed to set-global-log-metrics-config!.

Returns an object that can be fed to
[[set-global-log-metrics-config!]].
sourceraw docstring

get-milli-timeclj

source

get-milli-time!clj

(get-milli-time!)
source

get-milli-time?clj

(get-milli-time? thing)

Is object a GetMilliTime record? See active.clojure.logger.metric/make-get-milli-time.

Is object a `GetMilliTime` record? See [[active.clojure.logger.metric/make-get-milli-time]].
sourceraw docstring

GetMilliTimeclj

source

log-metriccljmacro

(log-metric ?label ?value)
(log-metric ?label ?value ?mp)
(log-metric ?label ?value ?mp ?ns)
source

log-metric!cljmacro

(log-metric! ?label ?value)
(log-metric! ?label ?value ?mp)
source

log-metric!-internalclj

(log-metric!-internal namespace label value mp)
source

log-metric-labelclj

(log-metric-label rec__3150__auto__)
(log-metric-label data__3151__auto__ v__3152__auto__)

Lens for the label field (String) from a LogMetric record. See active.clojure.logger.metric/make-log-metric.

Lens for the `label` field (String) from a [[LogMetric]] record. See [[active.clojure.logger.metric/make-log-metric]].
sourceraw docstring

log-metric-mapclj

(log-metric-map rec__3150__auto__)
(log-metric-map data__3151__auto__ v__3152__auto__)

Lens for the map field (Map with more data or nil, see [[log-context-keys]].) from a LogMetric record. See active.clojure.logger.metric/make-log-metric.

Lens for the `map` field (Map with more data or `nil`, see [[log-context-keys]].) from a [[LogMetric]] record. See [[active.clojure.logger.metric/make-log-metric]].
sourceraw docstring

log-metric-namespaceclj

(log-metric-namespace rec__3150__auto__)
(log-metric-namespace data__3151__auto__ v__3152__auto__)

Lens for the namespace field from a LogMetric record. See active.clojure.logger.metric/make-log-metric.

Lens for the `namespace` field from a [[LogMetric]] record. See [[active.clojure.logger.metric/make-log-metric]].
sourceraw docstring

log-metric-to-events!clj

(log-metric-to-events! namespace label value mp)
source

log-metric-to-riemann!clj

(log-metric-to-riemann! config label value mp)
source

log-metric-valueclj

(log-metric-value rec__3150__auto__)
(log-metric-value data__3151__auto__ v__3152__auto__)

Lens for the value field (Scalar value) from a LogMetric record. See active.clojure.logger.metric/make-log-metric.

Lens for the `value` field (Scalar value) from a [[LogMetric]] record. See [[active.clojure.logger.metric/make-log-metric]].
sourceraw docstring

log-metric?clj

(log-metric? thing)

Is object a LogMetric record? See active.clojure.logger.metric/make-log-metric.

Is object a `LogMetric` record? See [[active.clojure.logger.metric/make-log-metric]].
sourceraw docstring

log-metrics-command-configclj

source

LogMetricclj

source

make-get-milli-timeclj

(make-get-milli-time)

Construct a GetMilliTime (Get the system time in milliseconds) record.

Construct a `GetMilliTime` (Get the system time in milliseconds) record.
sourceraw docstring

make-log-metricclj

(make-log-metric namespace label value map)

Construct a LogMetric record.

namespace: access via active.clojure.logger.metric/log-metric-namespace label (String): access via active.clojure.logger.metric/log-metric-label value (Scalar value): access via active.clojure.logger.metric/log-metric-value map (Map with more data or nil, see [[log-context-keys]].): access via active.clojure.logger.metric/log-metric-map

Construct a `LogMetric` record.

`namespace`: access via [[active.clojure.logger.metric/log-metric-namespace]]
`label` (String): access via [[active.clojure.logger.metric/log-metric-label]]
`value` (Scalar value): access via [[active.clojure.logger.metric/log-metric-value]]
`map` (Map with more data or `nil`, see [[log-context-keys]].): access via [[active.clojure.logger.metric/log-metric-map]]
sourceraw docstring

metrics-configclj

source

metrics-config-defaultclj

source

reset-global-log-metrics-config!clj

(reset-global-log-metrics-config! compare)

Reset to back to default, if the config equals compare.

Reset to back to default, if the config equals `compare`.
sourceraw docstring

run-log-metricclj

(run-log-metric run-any env mstate m)
source

set-global-log-metrics-config!clj

(set-global-log-metrics-config! scc)
source

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

× close