Issue Description
- feature request*
Describe what happened (or what feature you want)
How to distinguish exceptions in metrics?
如何在指标统计中区分不同的异常?
Describe what you expected to happen
If you visit http://ip:port/metrics, you will get resourceName, passQps, blockQps and so on. But there is no metric to distinguish the real exceptions. After reading the code, I found that there is exception infomation in sentinel-block.log. Could the metrics be filled with exception infomation in the future?
在http://ip:port/metrics 接口中,获取到的metric数据包含了资源名、通过流量、拒绝流量等信息,但是无法区分时间窗口内的请求是什么原因被拒绝的。比如是FlowException还是DegradeException。在sentinel-block.log中有异常相关信息,看了源码当前还没有读取sentinel-block.log相关的逻辑。请问会将sentinel-block.log的异常信息整合到metric相关数据中吗?
How to reproduce it (as minimally and precisely as possible)
- Visit http://ip:port/metrics
- Check the result, there is no exception infomation.
- 访问 http://ip:port/metrics
- 获取的信息中没有异常相关信息。
Tell us your environment
sentinel 1.8.0
Anything else we need to know?
Nothing.
1条答案
按热度按时间gpnt7bae1#
It's not planned yet. Discussions are welcomed!