Liking cljdoc? Tell your friends :D
Clojure only.

active.clojure.logger.metric-accumulator

Metrics.

Metrics.
raw docstring

assoc-labels-value-mapclj

(assoc-labels-value-map labels-value-map metric-labels metric-value)
source

assoc-metric-storeclj

(assoc-metric-store metric-store metric stored-values)
source

counter-metric-helpclj

(counter-metric-help rec__8684__auto__)
(counter-metric-help data__8685__auto__ v__8686__auto__)

Lens for the help field from a [[CounterMetric]] record. See [[active.clojure.logger.metric-accumulator/really-make-counter-metric]].

Lens for the `help` field from a [[CounterMetric]] record. See [[active.clojure.logger.metric-accumulator/really-make-counter-metric]].
sourceraw docstring

counter-metric-nameclj

(counter-metric-name rec__8684__auto__)
(counter-metric-name data__8685__auto__ v__8686__auto__)

Lens for the name field from a [[CounterMetric]] record. See [[active.clojure.logger.metric-accumulator/really-make-counter-metric]].

Lens for the `name` field from a [[CounterMetric]] record. See [[active.clojure.logger.metric-accumulator/really-make-counter-metric]].
sourceraw docstring

counter-metric-set-value?clj

(counter-metric-set-value? rec__8684__auto__)
(counter-metric-set-value? data__8685__auto__ v__8686__auto__)

Lens for the set-value? field from a [[CounterMetric]] record. See [[active.clojure.logger.metric-accumulator/really-make-counter-metric]].

Lens for the `set-value?` field from a [[CounterMetric]] record. See [[active.clojure.logger.metric-accumulator/really-make-counter-metric]].
sourceraw docstring

counter-metric?clj

(counter-metric? thing)

Is object a CounterMetric record? See [[active.clojure.logger.metric-accumulator/really-make-counter-metric]].

Is object a `CounterMetric` record? See [[active.clojure.logger.metric-accumulator/really-make-counter-metric]].
sourceraw docstring

counter-values->metric-samplesclj

(counter-values->metric-samples name counter-values metric-labels)
source

counter-values-mapclj

(counter-values-map rec__8684__auto__)
(counter-values-map data__8685__auto__ v__8686__auto__)

Lens for the map field from a [[CounterValues]] record. See [[active.clojure.logger.metric-accumulator/really-make-counter-values]].

Lens for the `map` field from a [[CounterValues]] record. See [[active.clojure.logger.metric-accumulator/really-make-counter-values]].
sourceraw docstring

counter-values?clj

(counter-values? thing)

Is object a CounterValues record? See [[active.clojure.logger.metric-accumulator/really-make-counter-values]].

Is object a `CounterValues` record? See [[active.clojure.logger.metric-accumulator/really-make-counter-values]].
sourceraw docstring

empty-counter-values?clj

(empty-counter-values? counter-values)
source

empty-gauge-values?clj

(empty-gauge-values? gauge-values)
source

empty-histogram-values?clj

(empty-histogram-values? histogram-values)
source

empty-stored-values?clj

(empty-stored-values? stored-values)
source

empty-values-mapclj

source

gauge-metric-helpclj

(gauge-metric-help rec__8684__auto__)
(gauge-metric-help data__8685__auto__ v__8686__auto__)

Lens for the help field from a [[GaugeMetric]] record. See [[active.clojure.logger.metric-accumulator/really-make-gauge-metric]].

Lens for the `help` field from a [[GaugeMetric]] record. See [[active.clojure.logger.metric-accumulator/really-make-gauge-metric]].
sourceraw docstring

gauge-metric-nameclj

(gauge-metric-name rec__8684__auto__)
(gauge-metric-name data__8685__auto__ v__8686__auto__)

Lens for the name field from a [[GaugeMetric]] record. See [[active.clojure.logger.metric-accumulator/really-make-gauge-metric]].

Lens for the `name` field from a [[GaugeMetric]] record. See [[active.clojure.logger.metric-accumulator/really-make-gauge-metric]].
sourceraw docstring

gauge-metric?clj

(gauge-metric? thing)

Is object a GaugeMetric record? See [[active.clojure.logger.metric-accumulator/really-make-gauge-metric]].

Is object a `GaugeMetric` record? See [[active.clojure.logger.metric-accumulator/really-make-gauge-metric]].
sourceraw docstring

gauge-values->metric-samplesclj

(gauge-values->metric-samples name gauge-values metric-labels)
source

gauge-values-mapclj

(gauge-values-map rec__8684__auto__)
(gauge-values-map data__8685__auto__ v__8686__auto__)

Lens for the map field from a [[GaugeValues]] record. See [[active.clojure.logger.metric-accumulator/really-make-gauge-values]].

Lens for the `map` field from a [[GaugeValues]] record. See [[active.clojure.logger.metric-accumulator/really-make-gauge-values]].
sourceraw docstring

gauge-values?clj

(gauge-values? thing)

Is object a GaugeValues record? See [[active.clojure.logger.metric-accumulator/really-make-gauge-values]].

Is object a `GaugeValues` record? See [[active.clojure.logger.metric-accumulator/really-make-gauge-values]].
sourceraw docstring

get-all-metric-sample-setsclj

(get-all-metric-sample-sets)
source

get-all-metric-sample-sets!clj

(get-all-metric-sample-sets!)
(get-all-metric-sample-sets! a-metric-store)

Return all metric-samples-sets within the given metric-store. If no metric-store is given, use the global metric store.

Return all metric-samples-sets within the given metric-store.
If no metric-store is given, use the global metric store.
sourceraw docstring

get-all-metric-sample-sets-1clj

(get-all-metric-sample-sets-1 metric-store)

Return all metric-samples-sets within the given metric-store.

Return all metric-samples-sets within the given metric-store.
sourceraw docstring

get-all-metric-sample-sets?clj

(get-all-metric-sample-sets? thing)

Is object a GetAllMetricSampleSets record? See [[active.clojure.logger.metric-accumulator/really-get-all-metric-sample-sets]].

Is object a `GetAllMetricSampleSets` record? See [[active.clojure.logger.metric-accumulator/really-get-all-metric-sample-sets]].
sourceraw docstring

get-metric-sample-set-1clj

(get-metric-sample-set-1 metric-store metric)
source

get-metric-samplesclj

(get-metric-samples metric labels)
source

get-metric-samples!clj

(get-metric-samples! a-metric-store metric labels)

Return all metric-samples for a given metric within the given metric-store with the given labels.

Return all metric-samples for a given metric within the given
metric-store with the given labels.
sourceraw docstring

get-metric-samples-1clj

(get-metric-samples-1 metric-store metric metric-labels)
source

get-metric-samples-labelsclj

(get-metric-samples-labels rec__8684__auto__)
(get-metric-samples-labels data__8685__auto__ v__8686__auto__)

Lens for the labels field from a [[GetMetricSamples]] record. See [[active.clojure.logger.metric-accumulator/really-get-metric-samples]].

Lens for the `labels` field from a [[GetMetricSamples]] record. See [[active.clojure.logger.metric-accumulator/really-get-metric-samples]].
sourceraw docstring

get-metric-samples-metricclj

(get-metric-samples-metric rec__8684__auto__)
(get-metric-samples-metric data__8685__auto__ v__8686__auto__)

Lens for the metric field from a [[GetMetricSamples]] record. See [[active.clojure.logger.metric-accumulator/really-get-metric-samples]].

Lens for the `metric` field from a [[GetMetricSamples]] record. See [[active.clojure.logger.metric-accumulator/really-get-metric-samples]].
sourceraw docstring

get-metric-samples?clj

(get-metric-samples? thing)

Is object a GetMetricSamples record? See [[active.clojure.logger.metric-accumulator/really-get-metric-samples]].

Is object a `GetMetricSamples` record? See [[active.clojure.logger.metric-accumulator/really-get-metric-samples]].
sourceraw docstring

histogram-metric-helpclj

(histogram-metric-help rec__8684__auto__)
(histogram-metric-help data__8685__auto__ v__8686__auto__)

Lens for the help field from a [[HistogramMetric]] record. See [[active.clojure.logger.metric-accumulator/really-make-histogram-metric]].

Lens for the `help` field from a [[HistogramMetric]] record. See [[active.clojure.logger.metric-accumulator/really-make-histogram-metric]].
sourceraw docstring

histogram-metric-nameclj

(histogram-metric-name rec__8684__auto__)
(histogram-metric-name data__8685__auto__ v__8686__auto__)

Lens for the name field from a [[HistogramMetric]] record. See [[active.clojure.logger.metric-accumulator/really-make-histogram-metric]].

Lens for the `name` field from a [[HistogramMetric]] record. See [[active.clojure.logger.metric-accumulator/really-make-histogram-metric]].
sourceraw docstring

histogram-metric-thresholdsclj

(histogram-metric-thresholds rec__8684__auto__)
(histogram-metric-thresholds data__8685__auto__ v__8686__auto__)

Lens for the thresholds field from a [[HistogramMetric]] record. See [[active.clojure.logger.metric-accumulator/really-make-histogram-metric]].

Lens for the `thresholds` field from a [[HistogramMetric]] record. See [[active.clojure.logger.metric-accumulator/really-make-histogram-metric]].
sourceraw docstring

histogram-metric-values-bucket-valuesclj

(histogram-metric-values-bucket-values rec__8684__auto__)
(histogram-metric-values-bucket-values data__8685__auto__ v__8686__auto__)

Lens for the bucket-values field from a [[HistogramMetricValues]] record. See active.clojure.logger.metric-accumulator/really-make-histogram-metric-values.

Lens for the `bucket-values` field from a [[HistogramMetricValues]] record. See [[active.clojure.logger.metric-accumulator/really-make-histogram-metric-values]].
sourceraw docstring

histogram-metric-values-count-valueclj

(histogram-metric-values-count-value rec__8684__auto__)
(histogram-metric-values-count-value data__8685__auto__ v__8686__auto__)

Lens for the count-value field from a [[HistogramMetricValues]] record. See active.clojure.logger.metric-accumulator/really-make-histogram-metric-values.

Lens for the `count-value` field from a [[HistogramMetricValues]] record. See [[active.clojure.logger.metric-accumulator/really-make-histogram-metric-values]].
sourceraw docstring

histogram-metric-values-last-update-time-msclj

(histogram-metric-values-last-update-time-ms rec__8684__auto__)
(histogram-metric-values-last-update-time-ms data__8685__auto__ v__8686__auto__)

Lens for the last-update-time-ms field from a [[HistogramMetricValues]] record. See active.clojure.logger.metric-accumulator/really-make-histogram-metric-values.

Lens for the `last-update-time-ms` field from a [[HistogramMetricValues]] record. See [[active.clojure.logger.metric-accumulator/really-make-histogram-metric-values]].
sourceraw docstring

histogram-metric-values-sum-valueclj

(histogram-metric-values-sum-value rec__8684__auto__)
(histogram-metric-values-sum-value data__8685__auto__ v__8686__auto__)

Lens for the sum-value field from a [[HistogramMetricValues]] record. See active.clojure.logger.metric-accumulator/really-make-histogram-metric-values.

Lens for the `sum-value` field from a [[HistogramMetricValues]] record. See [[active.clojure.logger.metric-accumulator/really-make-histogram-metric-values]].
sourceraw docstring

histogram-metric-values?clj

(histogram-metric-values? thing)
Is object a `HistogramMetricValues` record? See [[active.clojure.logger.metric-accumulator/really-make-histogram-metric-values]].
sourceraw docstring

histogram-metric?clj

(histogram-metric? thing)

Is object a HistogramMetric record? See [[active.clojure.logger.metric-accumulator/really-make-histogram-metric]].

Is object a `HistogramMetric` record? See [[active.clojure.logger.metric-accumulator/really-make-histogram-metric]].
sourceraw docstring

histogram-values->metric-samplesclj

(histogram-values->metric-samples basename histogram-values metric-labels)

Return all metric-samples with the given labels within this histogram-metric.

Return all metric-samples with the given labels within this histogram-metric.
sourceraw docstring

histogram-values-mapclj

(histogram-values-map rec__8684__auto__)
(histogram-values-map data__8685__auto__ v__8686__auto__)

Lens for the map field from a [[HistogramValues]] record. See [[active.clojure.logger.metric-accumulator/really-make-histogram-values]].

Lens for the `map` field from a [[HistogramValues]] record. See [[active.clojure.logger.metric-accumulator/really-make-histogram-values]].
sourceraw docstring

histogram-values-thresholdsclj

(histogram-values-thresholds rec__8684__auto__)
(histogram-values-thresholds data__8685__auto__ v__8686__auto__)

Lens for the thresholds field from a [[HistogramValues]] record. See [[active.clojure.logger.metric-accumulator/really-make-histogram-values]].

Lens for the `thresholds` field from a [[HistogramValues]] record. See [[active.clojure.logger.metric-accumulator/really-make-histogram-values]].
sourceraw docstring

histogram-values?clj

(histogram-values? thing)

Is object a HistogramValues record? See [[active.clojure.logger.metric-accumulator/really-make-histogram-values]].

Is object a `HistogramValues` record? See [[active.clojure.logger.metric-accumulator/really-make-histogram-values]].
sourceraw docstring

inc-metric-valueclj

(inc-metric-value labels-value-map metric-labels metric-value-2)

Increment a metric-value within a labels-value-map.

Increment a metric-value within a labels-value-map.
sourceraw docstring

make-counter-metricclj

(make-counter-metric metric-name metric-help & [set-value?])
source

make-counter-valuesclj

(make-counter-values)
source

make-empty-histogram-metric-valuesclj

(make-empty-histogram-metric-values thresholds)
source

make-gauge-metricclj

(make-gauge-metric metric-name metric-help)
source

make-gauge-valuesclj

(make-gauge-values)
source

make-histogram-metricclj

(make-histogram-metric metric-name metric-help thresholds)
source

make-histogram-metric-valuesclj

(make-histogram-metric-values last-update-time-ms
                              sum-value
                              count-value
                              bucket-values)
source

make-histogram-valuesclj

(make-histogram-values thresholds)
source

make-metric-sampleclj

(make-metric-sample name labels value timestamp)
source

make-metric-sample-setclj

(make-metric-sample-set name type help samples)
source

make-metric-valueclj

(make-metric-value value update-time)
source

make-stored-valuesclj

(make-stored-values metric metric-labels metric-value)
source

metric-helpclj

(metric-help metric)
source

metric-nameclj

(metric-name metric)
source

metric-sample-labelsclj

(metric-sample-labels rec__8684__auto__)
(metric-sample-labels data__8685__auto__ v__8686__auto__)

Lens for the labels field from a [[MetricSample]] record. See [[active.clojure.logger.metric-accumulator/really-make-metric-sample]].

Lens for the `labels` field from a [[MetricSample]] record. See [[active.clojure.logger.metric-accumulator/really-make-metric-sample]].
sourceraw docstring

metric-sample-nameclj

(metric-sample-name rec__8684__auto__)
(metric-sample-name data__8685__auto__ v__8686__auto__)

Lens for the name field from a [[MetricSample]] record. See [[active.clojure.logger.metric-accumulator/really-make-metric-sample]].

Lens for the `name` field from a [[MetricSample]] record. See [[active.clojure.logger.metric-accumulator/really-make-metric-sample]].
sourceraw docstring

metric-sample-set-helpclj

(metric-sample-set-help rec__8684__auto__)
(metric-sample-set-help data__8685__auto__ v__8686__auto__)

Lens for the help field from a [[MetricSampleSet]] record. See [[active.clojure.logger.metric-accumulator/really-make-metric-sample-set]].

Lens for the `help` field from a [[MetricSampleSet]] record. See [[active.clojure.logger.metric-accumulator/really-make-metric-sample-set]].
sourceraw docstring

metric-sample-set-nameclj

(metric-sample-set-name rec__8684__auto__)
(metric-sample-set-name data__8685__auto__ v__8686__auto__)

Lens for the name field from a [[MetricSampleSet]] record. See [[active.clojure.logger.metric-accumulator/really-make-metric-sample-set]].

Lens for the `name` field from a [[MetricSampleSet]] record. See [[active.clojure.logger.metric-accumulator/really-make-metric-sample-set]].
sourceraw docstring

metric-sample-set-samplesclj

(metric-sample-set-samples rec__8684__auto__)
(metric-sample-set-samples data__8685__auto__ v__8686__auto__)

Lens for the samples field from a [[MetricSampleSet]] record. See [[active.clojure.logger.metric-accumulator/really-make-metric-sample-set]].

Lens for the `samples` field from a [[MetricSampleSet]] record. See [[active.clojure.logger.metric-accumulator/really-make-metric-sample-set]].
sourceraw docstring

metric-sample-set-typeclj

(metric-sample-set-type rec__8684__auto__)
(metric-sample-set-type data__8685__auto__ v__8686__auto__)

Lens for the type field from a [[MetricSampleSet]] record. See [[active.clojure.logger.metric-accumulator/really-make-metric-sample-set]].

Lens for the `type` field from a [[MetricSampleSet]] record. See [[active.clojure.logger.metric-accumulator/really-make-metric-sample-set]].
sourceraw docstring

metric-sample-set?clj

(metric-sample-set? thing)

Is object a MetricSampleSet record? See [[active.clojure.logger.metric-accumulator/really-make-metric-sample-set]].

Is object a `MetricSampleSet` record? See [[active.clojure.logger.metric-accumulator/really-make-metric-sample-set]].
sourceraw docstring

metric-sample-timestampclj

(metric-sample-timestamp rec__8684__auto__)
(metric-sample-timestamp data__8685__auto__ v__8686__auto__)

Lens for the timestamp field from a [[MetricSample]] record. See [[active.clojure.logger.metric-accumulator/really-make-metric-sample]].

Lens for the `timestamp` field from a [[MetricSample]] record. See [[active.clojure.logger.metric-accumulator/really-make-metric-sample]].
sourceraw docstring

metric-sample-valueclj

(metric-sample-value rec__8684__auto__)
(metric-sample-value data__8685__auto__ v__8686__auto__)

Lens for the value field from a [[MetricSample]] record. See [[active.clojure.logger.metric-accumulator/really-make-metric-sample]].

Lens for the `value` field from a [[MetricSample]] record. See [[active.clojure.logger.metric-accumulator/really-make-metric-sample]].
sourceraw docstring

metric-sample?clj

(metric-sample? thing)

Is object a MetricSample record? See [[active.clojure.logger.metric-accumulator/really-make-metric-sample]].

Is object a `MetricSample` record? See [[active.clojure.logger.metric-accumulator/really-make-metric-sample]].
sourceraw docstring

metric-storeclj

source

metric-typeclj

(metric-type metric)
source

metric-value-last-update-time-msclj

(metric-value-last-update-time-ms rec__8684__auto__)
(metric-value-last-update-time-ms data__8685__auto__ v__8686__auto__)

Lens for the last-update-time-ms field from a [[MetricValue]] record. See [[active.clojure.logger.metric-accumulator/really-make-metric-value]].

Lens for the `last-update-time-ms` field from a [[MetricValue]] record. See [[active.clojure.logger.metric-accumulator/really-make-metric-value]].
sourceraw docstring

metric-value-valueclj

(metric-value-value rec__8684__auto__)
(metric-value-value data__8685__auto__ v__8686__auto__)

Lens for the value field from a [[MetricValue]] record. See [[active.clojure.logger.metric-accumulator/really-make-metric-value]].

Lens for the `value` field from a [[MetricValue]] record. See [[active.clojure.logger.metric-accumulator/really-make-metric-value]].
sourceraw docstring

metric-value?clj

(metric-value? thing)

Is object a MetricValue record? See [[active.clojure.logger.metric-accumulator/really-make-metric-value]].

Is object a `MetricValue` record? See [[active.clojure.logger.metric-accumulator/really-make-metric-value]].
sourceraw docstring

monad-command-configclj

source

prune-stale-counter-valuesclj

(prune-stale-counter-values counter-values time-ms)
source

prune-stale-gauge-valuesclj

(prune-stale-gauge-values gauge-values time-ms)
source

prune-stale-histogram-metric-valueclj

(prune-stale-histogram-metric-value histogram-values-map time-ms)
source

prune-stale-histogram-valuesclj

(prune-stale-histogram-values histogram-values time-ms)
source

prune-stale-metric-valueclj

(prune-stale-metric-value labels-value-map time-ms)
source

prune-stale-metricsclj

(prune-stale-metrics time-ms)
source

prune-stale-metrics!clj

(prune-stale-metrics! time-ms)
(prune-stale-metrics! a-metric-store time-ms)

Prune all metrics in the a-metric-store that are older than time-ms. That is, the last update time in ms of the metric value is smaller than time-ms. If no metric-store is given, use the global metric store.

Prune all metrics in the `a-metric-store` that are older than `time-ms`. That is,
the last update time in ms of the metric value is smaller than `time-ms`.
If no metric-store is given, use the global metric store.
sourceraw docstring

prune-stale-metrics-time-msclj

(prune-stale-metrics-time-ms rec__8684__auto__)
(prune-stale-metrics-time-ms data__8685__auto__ v__8686__auto__)

Lens for the time-ms field from a [[PruneStaleMetrics]] record. See [[active.clojure.logger.metric-accumulator/really-prune-stale-metrics]].

Lens for the `time-ms` field from a [[PruneStaleMetrics]] record. See [[active.clojure.logger.metric-accumulator/really-prune-stale-metrics]].
sourceraw docstring

prune-stale-metrics?clj

(prune-stale-metrics? thing)

Is object a PruneStaleMetrics record? See [[active.clojure.logger.metric-accumulator/really-prune-stale-metrics]].

Is object a `PruneStaleMetrics` record? See [[active.clojure.logger.metric-accumulator/really-prune-stale-metrics]].
sourceraw docstring

prune-stale-stored-valuesclj

(prune-stale-stored-values stored-values time-ms)
source

really-make-histogram-metric-valuesclj

(really-make-histogram-metric-values last-update-time-ms
                                     sum-value
                                     count-value
                                     bucket-values)
Construct a `HistogramMetricValues` (Stored Histogram metric values.) record.

`last-update-time-ms`: access via [[active.clojure.logger.metric-accumulator/histogram-metric-values-last-update-time-ms]]
`sum-value`: access via [[active.clojure.logger.metric-accumulator/histogram-metric-values-sum-value]]
`count-value`: access via [[active.clojure.logger.metric-accumulator/histogram-metric-values-count-value]]
`bucket-values`: access via [[active.clojure.logger.metric-accumulator/histogram-metric-values-bucket-values]]
sourceraw docstring

really-update-histogram-values-mapclj

(really-update-histogram-values-map histogram-values-map
                                    metric-labels
                                    thresholds
                                    metric-value)
source

record-and-getclj

(record-and-get metric labels value & [last-update])
source

record-and-get!clj

(record-and-get! metric labels value)
(record-and-get! metric labels value last-update)
(record-and-get! a-metric-store metric labels value last-update)
source

record-metricclj

(record-metric metric labels value & [last-update])
source

record-metric!clj

(record-metric! metric labels value-value)
(record-metric! metric labels value-value last-update)
(record-metric! a-metric-store metric labels value-value last-update)

Record a metric.

Record a metric.
sourceraw docstring

record-metric-1clj

(record-metric-1 metric-store metric metric-labels metric-value)
source

record-metric-labelsclj

(record-metric-labels rec__8684__auto__)
(record-metric-labels data__8685__auto__ v__8686__auto__)

Lens for the labels field from a [[RecordMetric]] record. See [[active.clojure.logger.metric-accumulator/really-record-metric]].

Lens for the `labels` field from a [[RecordMetric]] record. See [[active.clojure.logger.metric-accumulator/really-record-metric]].
sourceraw docstring

record-metric-last-updateclj

(record-metric-last-update rec__8684__auto__)
(record-metric-last-update data__8685__auto__ v__8686__auto__)

Lens for the last-update field from a [[RecordMetric]] record. See [[active.clojure.logger.metric-accumulator/really-record-metric]].

Lens for the `last-update` field from a [[RecordMetric]] record. See [[active.clojure.logger.metric-accumulator/really-record-metric]].
sourceraw docstring

record-metric-metricclj

(record-metric-metric rec__8684__auto__)
(record-metric-metric data__8685__auto__ v__8686__auto__)

Lens for the metric field from a [[RecordMetric]] record. See [[active.clojure.logger.metric-accumulator/really-record-metric]].

Lens for the `metric` field from a [[RecordMetric]] record. See [[active.clojure.logger.metric-accumulator/really-record-metric]].
sourceraw docstring

record-metric-valueclj

(record-metric-value rec__8684__auto__)
(record-metric-value data__8685__auto__ v__8686__auto__)

Lens for the value field from a [[RecordMetric]] record. See [[active.clojure.logger.metric-accumulator/really-record-metric]].

Lens for the `value` field from a [[RecordMetric]] record. See [[active.clojure.logger.metric-accumulator/really-record-metric]].
sourceraw docstring

record-metric?clj

(record-metric? thing)

Is object a RecordMetric record? See [[active.clojure.logger.metric-accumulator/really-record-metric]].

Is object a `RecordMetric` record? See [[active.clojure.logger.metric-accumulator/really-record-metric]].
sourceraw docstring

reset-global-metric-store!clj

(reset-global-metric-store!)
source

run-metricsclj

(run-metrics run-any env state m)
source

set-global-metric-store!clj

(set-global-metric-store! fresh-metric-store-map)
source

set-metric-valueclj

(set-metric-value labels-value-map metric-labels metric-value)

Set a metric-value within a labels-value-map.

Set a metric-value within a labels-value-map.
sourceraw docstring

stale-metric-value?clj

(stale-metric-value? metric-value time-ms)
source

stale?clj

(stale? last-update-time-ms time-ms)
source

start-prune-stale-metrics-thread!clj

(start-prune-stale-metrics-thread! & [stale-seconds every-seconds])

Start a thread that prunes stale metrics older than stale-seconds seconds every every-seconds seconds. If called without an argument, it prunes metrics older than 24h every 5m.

Start a thread that prunes stale metrics older than `stale-seconds` seconds
every `every-seconds` seconds.  If called without an argument, it prunes
metrics older than 24h every 5m.
sourceraw docstring

stored-value->all-metric-samplesclj

(stored-value->all-metric-samples metric stored-value)
source

stored-value->metric-samplesclj

(stored-value->metric-samples metric stored-value metric-labels)
source

update-counter-valuesclj

(update-counter-values counter-values metric-labels metric-value)

Updates a CounterMetric.

Updates a `CounterMetric`.
sourceraw docstring

update-gauge-valuesclj

(update-gauge-values gauge-values metric-labels metric-value)

Updates a GaugeValues

Updates a `GaugeValues`
sourceraw docstring

update-histogram-metric-valuesclj

(update-histogram-metric-values histogram-metric-values thresholds metric-value)
source

update-histogram-valuesclj

(update-histogram-values histogram-values metric-labels metric-value)

Updates a HistogramMetric.

Updates a `HistogramMetric`.
sourceraw docstring

update-histogram-values-mapclj

(update-histogram-values-map histogram-values-map
                             thresholds
                             metric-labels
                             metric-value)
source

update-labels-value-mapclj

(update-labels-value-map labels-value-map metric-labels f)
source

update-metric-storeclj

(update-metric-store metric-store metric f & args)
source

update-metric-valueclj

(update-metric-value f metric-value-1 metric-value-2)

Update a MetricValue by applying a function f to the values of the old and the new MetricValue and setting the timestamp to the new timestamp. If the old-metric-valueisnil` take the new-metric-value.

Update a `MetricValue` by applying a function `f` to the `value`s of the old
and the new `MetricValue` and setting the `timestamp` to the new timestamp. If
the old-metric-value` is `nil` take the new-metric-value.
sourceraw docstring

update-or-make-stored-valuesclj

(update-or-make-stored-values maybe-stored-values
                              metric
                              metric-labels
                              metric-value)
source

update-stored-valuesclj

(update-stored-values stored-values metric-labels metric-value)
source

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

× close