Facilities for logging metrics.
Facilities for logging metrics.
(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!]].
(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]].
(log-metric ?label ?value)
(log-metric ?label ?value ?mp)
(log-metric ?label ?value ?mp ?ns)
(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]].
(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]].
(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]].
(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]].
(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]].
(make-get-milli-time)
Construct a GetMilliTime
(Get the system time in milliseconds) record.
Construct a `GetMilliTime` (Get the system time in milliseconds) record.
(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]]
(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