Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

Removed debug logging for metrics

ShadowArcanistee9cf076c382
diff --git a/app/Livewire/Project/Shared/Metrics.php b/app/Livewire/Project/Shared/Metrics.php
index 9dc944f9d7..e5b87b48cd 100644
--- a/app/Livewire/Project/Shared/Metrics.php
+++ b/app/Livewire/Project/Shared/Metrics.php
@@ -33,16 +33,6 @@ class Metrics extends Component
try {
$cpuMetrics = $this->resource->getCpuMetrics($this->interval);
$memoryMetrics = $this->resource->getMemoryMetrics($this->interval);
-
- // Debug logging
- \Log::info('Metrics loadData called', [
- 'chartId' => $this->chartId,
- 'cpuMetrics' => $cpuMetrics,
- 'memoryMetrics' => $memoryMetrics,
- 'cpuEvent' => "refreshChartData-{$this->chartId}-cpu",
- 'memoryEvent' => "refreshChartData-{$this->chartId}-memory"
- ]);
-
$this->dispatch("refreshChartData-{$this->chartId}-cpu", [
'seriesData' => $cpuMetrics,
]);