Caricamento statistiche...
Chiamate Totali
Chiamate Riuscite
Tempo Medio Risposta
Chiamate Fallite
| Modello | Chiamate | % |
|---|---|---|
| {{ $model['model'] }} | {{ number_format($model['total_calls']) }} | {{ round(($model['total_calls'] / $totalCalls) * 100, 1) }}% |
Nessun dato disponibile
@endif| Endpoint | Chiamate | % |
|---|---|---|
| {{ $endpoint['endpoint'] }} | {{ number_format($endpoint['total_calls']) }} | {{ round(($endpoint['total_calls'] / $totalCalls) * 100, 1) }}% |
Nessun dato disponibile
@endif| Errore | Occorrenze | Ultima Occorrenza |
|---|---|---|
| {{ Str::limit($error['error_message'], 100) }} | {{ number_format($error['occurrence_count']) }} | {{ \Carbon\Carbon::parse($error['created_at'] ?? now())->diffForHumans() }} |
| Nome | Tipo | Stato | Utilizzo | Azioni |
|---|---|---|---|---|
| {{ $apiKey->name }} | {{ ucfirst($apiKey->type) }} | @if($apiKey->is_active) Attiva @else Inattiva @endif |
@if($apiKey->daily_limit)
{{ $apiKey->daily_usage }}/{{ $apiKey->daily_limit }}
@else
Illimitato
@endif
@php
$percentage = ($apiKey->daily_usage / $apiKey->daily_limit) * 100;
$color = $percentage >= 90 ? 'danger' : ($percentage >= 70 ? 'warning' : 'success');
@endphp
|
Nessuna chiave API configurata
@endif