-
Notifications
You must be signed in to change notification settings - Fork 248
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
input.aliyun agent._hostname标签主机名有“.”的情况被忽略了,不显示"." #957
Comments
实际应该要显示: |
label处理中把 . 忽略了 。 下个版本,hostname 会保持原样上报 |
@kongfei605 另外还发现一个BUG,已经指定了只获取北京地域的资源,但是从结果来看同时也把上海地域的资源也一起获取了。 |
@kongfei605 可否提个需求,能否将云服务器ECS的私有IP捕获出来,通过instance_id不好区分谁是谁,同时也希望像其他采集器一样支持hostname,这样就可以将ident组装成hostname-ip了,当前只能hostname. |
阿里云的cms接口就是这样,请求一个region,返回全球的数据。 |
私有IP获取了,就会有一个单独的label了,不用hostname-ip这种组装了。 私有IP获取可以支持,不过获取元信息都需要额外的权限,单靠一个文档说明未必够用。这个也是现在放到企业版先支持的原因,有专门的人员去配置。 |
v0.3.70 已经去掉了hostname的snake case |
Relevant config.toml
Logs from categraf
System info
rocky.linux.8.5
Docker
No response
Steps to reproduce
修改input.aliyun相关配置
开启调试
Expected behavior
希望将"."显示出来,input.cpu 等默认采集对象是不会忽略"."的。
Actual behavior
input.aliyun agent._hostname标签主机名有“.”的情况被忽略了,不显示"."
Additional info
No response
The text was updated successfully, but these errors were encountered: