prometheus-kotlin-client
Toggle table of contents
common
Platform filter
common
Switch theme
Search in API
prometheus-kotlin-client
core
/
io.github.klient.prometheus.core
/
Histogram
/
Timer
/
observeDuration
observe
Duration
suspend
fun
observeDuration
(
)
:
Double
Records the duration of the operation and returns the elapsed time.
Return
The elapsed time in seconds.