tracesSampleRate property
double?
get
tracesSampleRate
Returns the traces sample rate Default is null (disabled)
Implementation
double? get tracesSampleRate => _tracesSampleRate;
set
tracesSampleRate
(double? tracesSampleRate)
Implementation
set tracesSampleRate(double? tracesSampleRate) {
assert(tracesSampleRate == null ||
(tracesSampleRate >= 0 && tracesSampleRate <= 1));
_tracesSampleRate = tracesSampleRate;
}