record

abstract fun record(value: T, attributes: <Error class: unknown class> = emptyAttributes(), context: Context? = null)

Record a gauge value

Parameters

value

the value to record

attributes

attributes to associate with this measurement

context

(Optional) trace context to associate with this measurement