Liking cljdoc? Tell your friends :D

active.clojure.logger.metric-emitter

Facilities for emitting metrics.

Facilities for emitting metrics.
raw docstring

configure-metrics-loggingclj

(configure-metrics-logging desc & [opt-config])

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

emit-metriccljmacro

(emit-metric ?metric-sample)
(emit-metric ?metric-sample ?mp)
(emit-metric ?metric-sample ?mp ?ns)
source

emit-metric!cljmacro

(emit-metric! ?metric-sample)
(emit-metric! ?metric-sample ?mp)
(emit-metric! ?metric-sample ?mp ?ns)
source

emit-metric-mapclj

(emit-metric-map rec__6325__auto__)
(emit-metric-map data__6326__auto__ v__6327__auto__)

Lens for the map field (Map with more data or nil. The context is a map that is merged with the log context that's already active, if present.) from a [[EmitMetric]] record. See active.clojure.logger.metric-emitter/make-emit-metric.

Lens for the `map` field (Map with more data or `nil`. The context is a map that is merged
with the log context that's already active, if present.) from a [[EmitMetric]] record. See [[active.clojure.logger.metric-emitter/make-emit-metric]].
sourceraw docstring

emit-metric-namespaceclj

(emit-metric-namespace rec__6325__auto__)
(emit-metric-namespace data__6326__auto__ v__6327__auto__)

Lens for the namespace field from a [[EmitMetric]] record. See active.clojure.logger.metric-emitter/make-emit-metric.

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

emit-metric-sampleclj

(emit-metric-sample rec__6325__auto__)
(emit-metric-sample data__6326__auto__ v__6327__auto__)

Lens for the sample field (Metric sample) from a [[EmitMetric]] record. See active.clojure.logger.metric-emitter/make-emit-metric.

Lens for the `sample` field (Metric sample) from a [[EmitMetric]] record. See [[active.clojure.logger.metric-emitter/make-emit-metric]].
sourceraw docstring

emit-metric-sample!-internalclj

(emit-metric-sample!-internal namespace metric-sample context-map)
(emit-metric-sample!-internal scconf namespace metric-sample context-map)
source

emit-metric-samples!-internalclj

(emit-metric-samples!-internal namespace metric-samples context-map)
source

emit-metric-to-events!clj

(emit-metric-to-events! namespace
                        level
                        metric-name
                        metric-labels
                        metric-value
                        mp)
source

emit-metric-to-riemann!clj

(emit-metric-to-riemann! config metric-name metric-value mp)
source

emit-metric?clj

(emit-metric? thing)

Is object a EmitMetric record? See active.clojure.logger.metric-emitter/make-emit-metric.

Is object a `EmitMetric` record? See [[active.clojure.logger.metric-emitter/make-emit-metric]].
sourceraw docstring

emit-metricscljmacro

(emit-metrics ?metric-samples)
(emit-metrics ?metric-samples ?mp)
(emit-metrics ?metric-samples ?mp ?ns)
source

emit-metrics!cljmacro

(emit-metrics! ?metric-samples)
(emit-metrics! ?metric-samples ?mp)
(emit-metrics! ?metric-samples ?mp ?ns)
source

events-config-levelclj

(events-config-level rec__6325__auto__)
(events-config-level data__6326__auto__ v__6327__auto__)

Lens for the level field from a [[EventsConfig]] record. See active.clojure.logger.metric-emitter/make-events-config.

Lens for the `level` field from a [[EventsConfig]] record. See [[active.clojure.logger.metric-emitter/make-events-config]].
sourceraw docstring

events-config?clj

(events-config? thing)

Is object a EventsConfig record? See active.clojure.logger.metric-emitter/make-events-config.

Is object a `EventsConfig` record? See [[active.clojure.logger.metric-emitter/make-events-config]].
sourceraw docstring

log-metrics-command-configclj

source

log-metrics-command-config-settingclj

source

make-emit-metricclj

(make-emit-metric namespace sample map)

Construct a EmitMetric record.

namespace: access via active.clojure.logger.metric-emitter/emit-metric-namespace sample (Metric sample): access via active.clojure.logger.metric-emitter/emit-metric-sample map (Map with more data or nil. The context is a map that is merged with the log context that's already active, if present.): access via active.clojure.logger.metric-emitter/emit-metric-map

Construct a `EmitMetric` record.

`namespace`: access via [[active.clojure.logger.metric-emitter/emit-metric-namespace]]
`sample` (Metric sample): access via [[active.clojure.logger.metric-emitter/emit-metric-sample]]
`map` (Map with more data or `nil`. The context is a map that is merged
  with the log context that's already active, if present.): access via [[active.clojure.logger.metric-emitter/emit-metric-map]]
sourceraw docstring

make-events-configclj

(make-events-config level)

Construct a EventsConfig record.

level: access via active.clojure.logger.metric-emitter/events-config-level

Construct a `EventsConfig` record.

`level`: access via [[active.clojure.logger.metric-emitter/events-config-level]]
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-emit-metricclj

(run-emit-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