Facilities for emitting metrics.
Facilities for emitting metrics.
(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!]].
(emit-metric ?metric-sample)
(emit-metric ?metric-sample ?mp)
(emit-metric ?metric-sample ?mp ?ns)
(emit-metric! ?metric-sample)
(emit-metric! ?metric-sample ?mp)
(emit-metric! ?metric-sample ?mp ?ns)
(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]].
(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]].
(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]].
(emit-metric-sample!-internal namespace metric-sample context-map)
(emit-metric-sample!-internal scconf namespace metric-sample context-map)
(emit-metric-samples!-internal namespace metric-samples context-map)
(emit-metric-to-events! namespace
level
metric-name
metric-labels
metric-value
mp)
(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]].
(emit-metrics ?metric-samples)
(emit-metrics ?metric-samples ?mp)
(emit-metrics ?metric-samples ?mp ?ns)
(emit-metrics! ?metric-samples)
(emit-metrics! ?metric-samples ?mp)
(emit-metrics! ?metric-samples ?mp ?ns)
(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]].
(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]].
(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]]
(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]]
(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`.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close