collectCallback property

Collect<Gauge>? collectCallback
final

Optional callback called in collect before samples are collected.

Can be used to update the current sample value before collecting it.

Implementation

final Collect<Gauge>? collectCallback;