setMeasurement method
Set observed measurement for this span or transaction.
Implementation
@override
void setMeasurement(
String name,
num value, {
SentryMeasurementUnit? unit,
}) {
if (finished) {
_hub.options.logger(SentryLevel.debug,
"The span is already finished. Measurement $name cannot be set");
return;
}
_tracer.setMeasurementFromChild(name, value, unit: unit);
}