feat: VM metrics via portal-monitor integration

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
baodev0
2026-10-17 13:04:35 +07:00
co-authored by Claude Sonnet 5.5
parent 0b08689ea4
commit 9ed77a85fd
15 changed files with 546 additions and 43 deletions
+1
View File
@@ -298,6 +298,7 @@ Route::prefix('v1/system')
// VM power & network operations
Route::controller(VmController::class)->group(function () {
Route::get('vm-power-state', 'powerState')->name('vm.power-state');
Route::get('vm-metrics', 'metrics')->name('vm.metrics');
Route::post('vm-power-on', 'powerOn')->name('vm.power-on');
Route::post('vm-power-off', 'powerOff')->name('vm.power-off');
Route::get('vm-ip-options', 'ipOptions')->name('vm.ip-options');