Handle for emitting Long or Counter counter event updates into a trace.

This allows you to monitor numeric values that change over time in a trace, such as the number of events in a queue, or memory usage.

Summary

Public functions

String
Cmn
Unit
setValue(value: Double)

Emits a Double value into the trace for the provided name.

Cmn
Unit
setValue(value: Long)

Emits a Long value into the trace for the provided name.

Cmn

Public functions

name

fun name(): String

setValue

fun setValue(value: Double): Unit

Emits a Double value into the trace for the provided name.

setValue

fun setValue(value: Long): Unit

Emits a Long value into the trace for the provided name.