Liking cljdoc? Tell your friends :D

puppetlabs.puppetdb.utils.metrics


get-db-nameclj

(get-db-name db)

Returns a string of the db's name or nil. In command broadcast mode the db name is included in the hikari writepool name. e.g. poolname = 'PDBWritePool: foo', db name = 'foo' In normal mode no db specific name is present and function will return nil.

Returns a string of the db's name or nil. In command broadcast mode the db
name is included in the hikari writepool name.
e.g. poolname = 'PDBWritePool: foo', db name = 'foo'
In normal mode no db specific name is present and function will return nil.
sourceraw docstring

maybe-prefix-keyclj

(maybe-prefix-key prefix key)
source

multitime!cljmacro

(multitime! timers & body)

Like time!, but tracks the execution time in each of the supplied timer objects

Like `time!`, but tracks the execution time in each of the supplied
timer objects
sourceraw docstring

multitime!*clj

(multitime!* timers f)

Helper for multitime!. Given a set of timer objects and a function, wrap the function in nested calls to time! so that execution of the function has its execution time tracked in each of the supplied timer objects.

Helper for `multitime!`. Given a set of timer objects and a
function, wrap the function in nested calls to `time!` so that
execution of the function has its execution time tracked in each of
the supplied timer objects.
sourceraw docstring

number-recordedclj

source

prefix-metric-keysclj

(prefix-metric-keys prefix metrics)
source

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close