recordSeconds

fun DoubleHistogram.recordSeconds(value: <Error class: unknown class>, attributes: <Error class: unknown class> = emptyAttributes(), context: Context? = null)

Record a duration in seconds using millisecond precision.

Parameters

value

the duration to record

attributes

attributes to associate with this measurement

context

(Optional) trace context to associate with this measurement