Liking cljdoc? Tell your friends :D

signal.data_platform_telemetry.metrics


*default-registry*clj


add-exponential-buckets-past-maximumclj

(add-exponential-buckets-past-maximum base-buckets)
(add-exponential-buckets-past-maximum base-buckets max-time-seconds)

decrement-messages-in-flightclj

(decrement-messages-in-flight registry)
(decrement-messages-in-flight registry n)

get-default-histogram-bucketsclj

(get-default-histogram-buckets {:keys [max-batch-size] :or {max-batch-size 50}})

increment-messages-in-flightclj

(increment-messages-in-flight registry)
(increment-messages-in-flight registry n)

initclj

(init)
(init {:keys [registry ring? jvm?]
       :or {ring? true jvm? true registry *default-registry*}})

Initialises a Prometheus metrics registry and returns it.

Initialises a Prometheus metrics registry and returns it.
raw docstring

message-ack-timecljmacro

(message-ack-time registry & body)

message-process-timecljmacro

(message-process-time registry & body)

message-publish-timecljmacro

(message-publish-time registry & body)

message-read-timecljmacro

(message-read-time registry & body)

message-result-write-timecljmacro

(message-result-write-time registry & body)

message-total-timecljmacro

(message-total-time registry & body)

observe-message-ack-timeclj


observe-message-batch-sizeclj

(observe-message-batch-size registry size)

observe-message-process-timeclj


observe-message-publish-timeclj


observe-message-read-timeclj


observe-message-result-write-timeclj


observe-message-total-timeclj


observe-queue-worker-errorclj

(observe-queue-worker-error registry _)

observe-time-secondsclj

(observe-time-seconds metric registry start-timestamp-ms end-timestamp-ms)

Given a metric name and a start/end timestamp in milliseconds, observes the time in seconds between the two times.

Given a metric name and a start/end timestamp in milliseconds, observes the time in seconds between the two times.
raw docstring

pipeline-latencyclj

(pipeline-latency registry {:keys [histogram-buckets-overrides] :as config})

Registers metrics to track latency from point-to-point in a pipeline to the given registry.

document-latency-buckets must be provided - be sure to include the explicit value of any SLOs in your bucket distribution.

Registers metrics to track latency from point-to-point in a pipeline to the given registry.

document-latency-buckets must be provided - be sure to include the explicit value of any SLOs in your bucket distribution.
raw docstring

queue-readerclj

(queue-reader registry {:keys [histogram-buckets-overrides] :as config})

Registers queue reader metrics on the given registry.

Registers queue reader metrics on the given registry.
raw docstring

queue-writerclj

(queue-writer registry {:keys [histogram-buckets-overrides] :as config})

Registers queue worker metrics on the given registry.

Registers queue worker metrics on the given registry.
raw docstring

record-pipeline-metrics-for-complete-documentclj

(record-pipeline-metrics-for-complete-document registry
                                               {:keys [mode measured-from]}
                                               received-date-time)

ring-wrap-instrumentationclj

(ring-wrap-instrumentation registry app)

Wraps a ring application in Prometheus instrumentation.

Wraps a ring application in Prometheus instrumentation.
raw docstring

ring-wrap-metrics-exposeclj

(ring-wrap-metrics-expose registry app)

Creates a ring handler which exposes Prometheus metrics for the given registry on /internal/metrics.

Creates a ring handler which exposes Prometheus metrics for the given registry on /internal/metrics.
raw docstring

take-while-and-n-moreclj

(take-while-and-n-more pred n coll)

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

× close