今日已办
配置文件问题
多名组员都反馈的问题

容器内部确实存在该路径的文件【眼误】

配置文件解决
-
重启容器无法解决,重启 compose 可以解决 【后续又无法解决】
-
后续重启容器又是同样的问题:将所有容器停止,重新启动
profile
,再启动其他停止的容器
sh
docker-compose -f .\compose-profile.yaml up -d --build profile
但是日志无法上报到 signoz,可能时初始化日志的时候由于 otel-collecotr 没有启动,所以失败了
可以在 trace 中看到exception.stacktrace

- 仔细查阅源码,对比 dockerfile,venus 容器等发现是文件的路径出现问题

修改 dockerfile



【暂时解决了 signoz web 的日志问题】:但是docker容器内部的日志却消失了

修复 metric 上报的 process 的 cpu & memory percentage

在 docker desktop 可以看到相关指标(但是 docker 资源分配)


而获取指标的代码是,通过映射容器进程到宿主机的进程来获取的,所以环境(CPU、Memory的总资源)是宿主机的
明日待办
- 对比两种 log 方式的优劣
- 研究 dashboards 的导入导出功能