simzyoo opened a new issue, #7447: URL: https://github.com/apache/incubator-seata/issues/7447
### Why you need it? 一、背景需求 1.1 增加提交重试、回滚重试的采集 当二阶段提交或回滚失败时,tc会发起重试,当多次重试仍无法正常结束事务后,目前来看这种情况是需要通知用户介入处理异常数据,让事务结束。 预期是通过metrics的采集结合Prometheus的告警,通知用户,但是目前采集全局事务状态还未涉及这部分 <img width="974" alt="Image" src="https://github.com/user-attachments/assets/626920ff-c05e-41ac-a956-854bd6c117cf" /> 1.2采集的元数据中增加全局事务name信息以及xid信息 目前的元数据中,并未包括具体全局事务的标识信息,这样即使如果采集到了异常数据,想要通知用户时,用户也没法快速知道哪个全局事务产生了异常 `seata_transaction{applicationId="xxxx",group="xxxx",meter="timer",role="tc",statistic="total",status="AfterRollbacked",} 0.0 1750231906579 ` 以上是目前生产中使用seata在metrics配置异常告警时的一些想法,我想增加这些特性,期待社区的意见,看看能否接受。 ### How it could be? _No response_ ### Other related information _No response_ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@seata.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@seata.apache.org For additional commands, e-mail: notifications-h...@seata.apache.org