Peak
Average
@if ($connections->isEmpty()) @else
@foreach ($connections as $app => $readings)

{{ $app }}

@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