mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-05 16:02:34 +00:00
remote monitor (#167)
This commit is contained in:
@ -22,7 +22,12 @@ class="p-6"
|
||||
<x-input-label for="data_retention" value="Delete metrics older than" />
|
||||
<x-select-input id="data_retention" name="data_retention" class="mt-1 w-full">
|
||||
@foreach (config("core.metrics_data_retention") as $item)
|
||||
<option value="{{ $item }}">{{ $item }} Days</option>
|
||||
<option
|
||||
value="{{ $item }}"
|
||||
@if($server->monitoring()->handler()->data()['data_retention'] == $item) selected @endif
|
||||
>
|
||||
{{ $item }} Days
|
||||
</option>
|
||||
@endforeach
|
||||
</x-select-input>
|
||||
@error("data_retention")
|
||||
|
Reference in New Issue
Block a user