flashcatcloud / categraf

one-stop telemetry collector for nightingale
https://flashcat.cloud/docs/
MIT License
854 stars 259 forks source link

服务器agent_hostname重复了怎么办? #1077

Closed masterzht closed 3 weeks ago

masterzht commented 1 month ago

因为部署categraf时就定义了hostname为$ip,后续部署节点多了之后发现会有重复的内网ip,但是在机器列表页只会显示一个,这个应该怎么后置处理? What would you like to be added:

Why is this needed:

Describe the solution you'd like

Additional context

UlricQin commented 1 month ago

那就自行确保机器的 IP 不同,对于不得不相同的,可以使用机器名作为标识,或者直接写死一个独特的字符串。