Removed debug logging for metrics
This commit is contained in:
parent
cb7fbe9a71
commit
ee9cf076c3
1 changed files with 0 additions and 10 deletions
|
|
@ -33,16 +33,6 @@ public function loadData()
|
||||||
try {
|
try {
|
||||||
$cpuMetrics = $this->resource->getCpuMetrics($this->interval);
|
$cpuMetrics = $this->resource->getCpuMetrics($this->interval);
|
||||||
$memoryMetrics = $this->resource->getMemoryMetrics($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", [
|
$this->dispatch("refreshChartData-{$this->chartId}-cpu", [
|
||||||
'seriesData' => $cpuMetrics,
|
'seriesData' => $cpuMetrics,
|
||||||
]);
|
]);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue