recordPayloadSize

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

Records the size of a payload in bytes to this histogram.

Parameters

value

The payload size in bytes, or null if no payload

attributes

attributes to associate with this measurement

context

(Optional) trace context to associate with this measurement