@if ($userRequestCounts->isEmpty())
@else
@php
$sampleRate = match($this->usage) {
'requests' => $userRequestsConfig['sample_rate'],
'slow_requests' => $slowRequestsConfig['sample_rate'],
'jobs' => $jobsConfig['sample_rate'],
};
@endphp
@foreach ($userRequestCounts as $userRequestCount)
@if ($sampleRate < 1)
~{{ number_format($userRequestCount->count * (1 / $sampleRate)) }}
@else
{{ number_format($userRequestCount->count) }}
@endif
@endforeach
@endif