export

abstract suspend fun export(metrics: List<MetricData>)

Deliver one collection cycle's worth of metrics.

Parameters

metrics

one entry per instrument that recorded at least one measurement this cycle. Idle instruments are omitted rather than exported as zero, so charts show gaps rather than zeros for idle periods.