23 lines
483 B
PHP
23 lines
483 B
PHP
<?php
|
|
|
|
namespace App\Settings;
|
|
|
|
use Spatie\LaravelSettings\Settings;
|
|
|
|
class TimeSettings extends Settings
|
|
{
|
|
# 全局抓取间隔
|
|
public ?string $global_scrape_interval;
|
|
// node_exporter抓取间隔
|
|
public ?string $node_exporter_scrape_interval;
|
|
// opcua_exporter抓取间隔
|
|
public ?string $opcua_scrape_interval;
|
|
// 数据存储时间
|
|
public ?string $storage_interval;
|
|
|
|
public static function group(): string
|
|
{
|
|
return 'time';
|
|
}
|
|
}
|