[添加]prometheus远程提交时的数据源可以自己填写
This commit is contained in:
@@ -32,6 +32,11 @@ class ManageRemoteWrite extends SettingsPage
|
||||
->url()
|
||||
->placeholder("http://remote-storage.example.com/api/v1/write"),
|
||||
|
||||
// 数据源名陈
|
||||
Forms\Components\TextInput::make('data_source_label')
|
||||
->label("数据源名称")
|
||||
->required(),
|
||||
|
||||
// 每个分片的最大队列容量
|
||||
Forms\Components\TextInput::make('queue_config_capacity')
|
||||
->label("队列容量")
|
||||
@@ -102,7 +107,7 @@ class ManageRemoteWrite extends SettingsPage
|
||||
->nullable()
|
||||
->placeholder("/path/to/client.crt")
|
||||
->visible(fn($get) => $get('auth_mode') === 'certificate'),
|
||||
|
||||
|
||||
// 客户端私钥文件路径
|
||||
Forms\Components\TextInput::make('tls_config_key_file')
|
||||
->label("客户端私钥文件")
|
||||
|
||||
Reference in New Issue
Block a user