record
abstract fun record(value: T, attributes: <Error class: unknown class> = emptyAttributes(), context: Context? = null)
Updates the statistics with a value
Parameters
value
the value to record
attributes
attributes to associate with this measurement
context
(Optional) trace context to associate with this measurement