prometheus 的 metrics 在 DM woker 内就没有记录,能否 curl http://dm_worker_host:metric_port/debug/pprof/goroutine?debug=2 > goroutines 帮忙抓取一下堆栈信息分析,有可能是卡在了什么地方
goroutines (37.8 KB)
goroutine 是正常的,没有明显的阻塞。现在问题在 cdc 的 prometheus metrics 没有写进去,需要进一步定位
怎么操作!
需要调整 log 级别到 debug,然后在日志中搜索以下关键词,间接定位 dm 内部相关数据是否更新
- ignore mismatched server_id for heartbeat
- don’t need to handle non-heartbeat table
此话题已在最后回复的 1 分钟后被自动关闭。不再允许新回复。