ServerStatus-Rust icon indicating copy to clipboard operation
ServerStatus-Rust copied to clipboard

[Request] 动态注册模式自定义 Label

Open kasuha07 opened this issue 1 year ago • 0 comments

🥰 需求描述

看到 hosts 配置可以自定义标签,例如 labels = "os=centos;ndd=2022/11/25;spec=2C/4G/60G;" 希望动态注册模式能支持客户端自定义 label 并上报到服务端,因为 label 里的参数都是跟客户端相关的,在配置客户端的时候顺便填写这些配置会比较方便。

🧐 解决方案

可以像目前客户端配置 location 那样配置,例如 --labels "os=centos;ndd=2022/11/25;spec=2C/4G/60G;"

📝 补充信息

因为 label 里的参数都是跟客户端相关的,在配置客户端的时候顺便填写这些配置会比较方便。

kasuha07 avatar Jun 29 '24 08:06 kasuha07