File tree Expand file tree Collapse file tree
resources/views/livewire/server Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,13 +25,13 @@ class Sentinel extends Component
2525 public ?string $ sentinelUpdatedAt = null ;
2626
2727 #[Validate(['required ' , 'integer ' , 'min:1 ' ])]
28- public int $ sentinelMetricsRefreshRateSeconds ;
28+ public int | string $ sentinelMetricsRefreshRateSeconds ;
2929
3030 #[Validate(['required ' , 'integer ' , 'min:1 ' ])]
31- public int $ sentinelMetricsHistoryDays ;
31+ public int | string $ sentinelMetricsHistoryDays ;
3232
3333 #[Validate(['required ' , 'integer ' , 'min:10 ' ])]
34- public int $ sentinelPushIntervalSeconds ;
34+ public int | string $ sentinelPushIntervalSeconds ;
3535
3636 #[Validate(['nullable ' , 'url ' ])]
3737 public ?string $ sentinelCustomUrl = null ;
Original file line number Diff line number Diff line change 9191
9292 <div class =" flex flex-col gap-2" >
9393 <div class =" flex flex-wrap gap-2 sm:flex-nowrap" >
94- <x-forms .input canGate =" update" :canResource =" $server"
94+ <x-forms .input canGate =" update" :canResource =" $server" type = " number " min = " 1 "
9595 id =" sentinelMetricsRefreshRateSeconds" label =" Metrics rate (seconds)" required
9696 helper =" Interval used for gathering metrics. Lower values result in more disk space usage." />
97- <x-forms .input canGate =" update" :canResource =" $server" id =" sentinelMetricsHistoryDays"
97+ <x-forms .input canGate =" update" :canResource =" $server" type =" number" min =" 1"
98+ id =" sentinelMetricsHistoryDays"
9899 label =" Metrics history (days)" required
99100 helper =" Number of days to retain metrics data for." />
100- <x-forms .input canGate =" update" :canResource =" $server"
101+ <x-forms .input canGate =" update" :canResource =" $server" type = " number " min = " 10 "
101102 id =" sentinelPushIntervalSeconds" label =" Push interval (seconds)" required
102103 helper =" Interval at which metrics data is sent to the collector." />
103104 </div >
You can’t perform that action at this time.
0 commit comments