@use('Illuminate\Support\Str')
Queued
Processing
Processed
Released
Failed
@if ($queues->isEmpty()) @else
@foreach ($queues as $queue => $readings)

@if ($showConnection) {{ $queue }} @else {{ Str::after($queue, ':') }} @endif

@php $highest = $readings->flatten()->max(); @endphp
@if ($config['sample_rate'] < 1) ~{{ number_format($highest * (1 / $config['sample_rate'])) }} @else {{ number_format($highest) }} @endif
@endforeach
@endif
@script @endscript