add
abstract fun add(value: Long, attributes: <Error class: unknown class> = emptyAttributes(), context: Context? = null)
Records a value
Parameters
value
the delta amount to record (MUST be positive)
attributes
attributes to associate with this measurement
context
(Optional) trace context to associate with this measurement