record

open override fun record(value: T, attributes: Attributes, context: Context?)

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