@extends('layouts.app') @section('content')

{{ $agent->name }} - Performance Dashboard

Model: {{ $agent->model_type }} | Created: {{ $agent->created_at->format('M d, Y') }}

@if($alerts['alert_count'] > 0)
Performance Alerts ({{ $alerts['alert_count'] }})
@endif
Real-time Usage
Updated: {{ \Carbon\Carbon::parse($realtimeStats['timestamp'])->diffForHumans() }}

{{ $realtimeStats['active_sessions'] }}

Active Sessions

{{ $realtimeStats['requests_per_minute'] }}

Requests/Minute

{{ $realtimeStats['average_response_time'] }}ms

Avg Response Time

{{ number_format($realtimeStats['error_rate'] * 100, 1) }}%

Error Rate

Performance Summary

{{ number_format($performanceMetrics['total_requests']) }}

Total Requests

{{ number_format($performanceMetrics['total_tokens_used']) }}

Total Tokens Used

{{ number_format($performanceMetrics['unique_users']) }}

Unique Users

${{ number_format($performanceMetrics['cost_estimate'], 2) }}

Estimated Cost

Health Status
{{ number_format($performanceMetrics['uptime_percentage'], 1) }}%

Uptime

{{ number_format($performanceMetrics['error_rate'] * 100, 1) }}%

Error Rate

{{ $performanceMetrics['average_response_time'] }}ms

Avg Response Time

Resource Utilization

Monitor CPU, memory, and network usage of your AI agent.

View Resources
Conversation Analytics

Analyze conversation quality, user satisfaction, and more.

View Analytics
Usage History

View historical usage data and trends over time.

View History
Data Export & Reports
Export Performance Data
@csrf
Schedule Regular Reports
@csrf
@push('scripts') @endpush @endsection