mirror of
https://github.com/coollabsio/coolify.git
synced 2026-10-07 14:36:44 -04:00
Add a per-server Analytics page scoped to that host, move traffic settings out of Sentinel, and put metrics settings on Charts. Surface 4xx/5xx on path rows and restyle deployment logs.
27 lines
582 B
PHP
27 lines
582 B
PHP
<?php
|
|
|
|
namespace App\Livewire\Server\Analytics;
|
|
|
|
use App\Models\Server;
|
|
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
|
|
use Illuminate\View\View;
|
|
use Livewire\Component;
|
|
|
|
class Show extends Component
|
|
{
|
|
use AuthorizesRequests;
|
|
|
|
public Server $server;
|
|
|
|
public function mount(string $server_uuid): void
|
|
{
|
|
$this->server = Server::ownedByCurrentTeam()->whereUuid($server_uuid)->firstOrFail();
|
|
$this->authorize('view', $this->server);
|
|
}
|
|
|
|
public function render(): View
|
|
{
|
|
return view('livewire.server.analytics.show');
|
|
}
|
|
}
|