sentinel 日志说明

sentinel 日志说明
           

官网:https://sentinelguard.io/zh-cn/docs/logs.html

            

               

                                  

日志启动参数
         

参数配置方式

# 虚拟机参数(JVM -D)
如:-Dcsp.sentinel.config.file=classpath:sentinel.properties
优先级最高,若与properties出现同名参数,以JVM参数为准
 
# properties文件
可用-Dcsp.sentinel.config.file指定properties文件路径,
默认为classpath:sentinel.properties,编码格式为utf-8
           

日志相关参数

csp.sentinel.log.dir:日志生成目录,默认为${user.home}/logs/csp/
csp.sentinel.log.use.pid:日志文件名中是否加入进程号,区分同一机器上的多个sentinel应用
                          默认false,同一机器上部署多个sentinel应用,应设置为true
csp.sentinel.log.output.type:日志输出类型,可选值:file(输出到文件,默认)、console(输出到控制台)
            

                  

                                  

日志说明
   

限流日志:触发限流、熔断降级、系统保护,日志均会记录在该文件中

日志路径:${user_home}/logs/csp/sentinel-block.log

# 限流日志
# 格式说明:日期时间|该秒发生的第一个资源|资源名称,异常类型,生效规则的调用来源,origin(可为空)|被拦截数量,0(无意义,可忽略)
2022-03-27 13:46:25|1|hello,FlowException,default,|1,0
2022-03-27 13:47:18|1|hello,FlowException,default,|80,0
2022-03-27 14:25:27|1|hello3,FlowException,default,|80,0
2022-03-27 22:31:04|1|hello,FlowException,default,|9,0
2022-03-27 23:28:03|1|/hello,FlowException,default,|8,0
2022-03-28 08:53:30|1|hello,FlowException,default,|8,0
2022-03-31 12:23:25|1|com.example.demo.service.HelloService:hello(),FlowException,default,|9,0
2022-03-31 12:24:17|1|com.example.demo.service.HelloService,FlowException,default,|9,0
2022-03-31 12:48:28|1|com.example.demo.service.HelloService,FlowException,default,|1,0
2022-03-31 12:50:26|1|com.example.demo.service.HelloService,FlowException,default,|1,0
2022-03-31 12:57:25|1|com.example.demo.service.HelloService:hello(java.lang.String),FlowException,default,|9,0
2022-03-31 13:02:48|1|com.example.demo.service.HelloService,FlowException,default,|9,0
2022-03-31 13:12:10|1|com.example.demo.service.HelloService,FlowException,default,|9,0
2022-03-31 13:13:39|1|com.example.demo.service.HelloService,FlowException,default,|2,0
2022-03-31 13:13:40|1|com.example.demo.service.HelloService,FlowException,default,|7,0
2022-03-31 13:39:34|1|com.example.demo.service.HelloService:hello(),FlowException,default,|8,0
2022-04-01 16:24:35|1|com.example.demo.service.HelloService:hello(),FlowException,default,nacos-consumer|1,0
2022-04-01 16:26:53|1|com.example.demo.service.HelloService:hello(),FlowException,default,nacos-consumer|3,0
2022-04-01 16:35:03|1|com.example.demo.service.HelloService:hello(),FlowException,default,nacos-consumer|2,0
2022-04-01 16:35:03|1|com.example.demo.service.HelloService:hello(),FlowException,default,nacos-consumer|1,0
2022-04-01 16:35:03|1|com.example.demo.service.HelloService:hello(),FlowException,default,nacos-consumer|1,0
2022-04-01 16:36:45|1|com.example.demo.service.HelloService:hello(),FlowException,default,nacos-consumer|3,0
2022-04-01 16:36:45|1|com.example.demo.service.HelloService:hello(),FlowException,default,nacos-consumer|1,0
2022-04-01 16:37:55|1|com.example.demo.service.HelloService:hello(),FlowException,default,nacos-consumer|5,0
2022-04-01 16:37:55|1|com.example.demo.service.HelloService:hello(),FlowException,default,nacos-consumer|1,0
2022-04-01 16:37:55|1|com.example.demo.service.HelloService:hello(),FlowException,default,nacos-consumer|1,0
2022-04-01 16:38:42|1|com.example.demo.service.HelloService:hello(),FlowException,default,nacos-consumer|2,0
2022-04-01 16:38:43|1|com.example.demo.service.HelloService:hello(),FlowException,default,nacos-consumer|1,0
2022-04-01 16:38:43|1|com.example.demo.service.HelloService:hello(),FlowException,default,nacos-consumer|2,0
2022-04-01 16:39:04|1|com.example.demo.service.HelloService:hello(),FlowException,default,nacos-consumer|1,0
2022-04-01 16:39:04|1|com.example.demo.service.HelloService:hello(),FlowException,default,nacos-consumer|1,0
2022-04-01 16:39:04|1|com.example.demo.service.HelloService:hello(),FlowException,default,nacos-consumer|2,0
2022-04-01 16:42:21|1|com.example.demo.service.HelloService:hello(),FlowException,default,nacos-consumer|2,0
2022-04-01 16:42:21|1|com.example.demo.service.HelloService:hello(),FlowException,default,nacos-consumer|2,0
2022-04-01 16:42:37|1|com.example.demo.service.HelloService:hello(),FlowException,default,nacos-consumer|5,0
2022-04-01 16:47:14|1|com.example.demo.service.HelloService:hello(),FlowException,default,nacos-consumer|1,0
2022-04-01 16:47:14|1|com.example.demo.service.HelloService:hello(),FlowException,default,nacos-consumer|6,0
2022-04-01 16:49:03|1|com.example.demo.service.HelloService:hello(),FlowException,default,nacos-consumer|3,0
2022-04-01 16:49:03|1|com.example.demo.service.HelloService:hello(),FlowException,default,nacos-consumer|1,0
2022-04-01 16:49:03|1|com.example.demo.service.HelloService:hello(),FlowException,default,nacos-consumer|3,0
2022-04-01 16:52:10|1|com.example.demo.service.HelloService:hello(),FlowException,default,nacos-consumer|5,0
2022-04-01 16:53:05|1|com.example.demo.service.HelloService:hello(),FlowException,default,nacos-consumer|3,0
2022-04-01 16:53:05|1|com.example.demo.service.HelloService:hello(),FlowException,default,nacos-consumer|5,0
2022-04-01 16:57:41|1|com.example.demo.service.HelloService:hello(),FlowException,default,nacos-consumer|6,0
2022-04-01 16:57:41|1|com.example.demo.service.HelloService:hello(),FlowException,default,nacos-consumer|2,0
2022-04-01 16:57:46|1|com.example.demo.service.HelloService:hello(),FlowException,default,nacos-consumer|8,0
2022-04-01 16:57:58|1|com.example.demo.service.HelloService:hello(),FlowException,default,nacos-consumer|1,0
2022-04-01 16:57:58|1|com.example.demo.service.HelloService:hello(),FlowException,default,nacos-consumer|7,0
2022-04-01 16:58:49|1|com.example.demo.service.HelloService:hello(),FlowException,default,nacos-consumer|6,0
2022-04-01 16:58:49|1|com.example.demo.service.HelloService:hello(),FlowException,default,nacos-consumer|2,0
2022-04-01 17:10:02|1|com.example.demo.service.HelloService:hello(),FlowException,default,nacos-consumer|3,0
2022-04-01 17:10:02|1|com.example.demo.service.HelloService:hello(),FlowException,default,nacos-consumer|1,0
2022-04-01 17:10:02|1|com.example.demo.service.HelloService:hello(),FlowException,default,nacos-consumer|3,0
2022-04-01 17:14:58|1|com.example.demo.service.HelloService:hello(),FlowException,default,nacos-consumer|2,0
2022-04-01 17:14:58|1|com.example.demo.service.HelloService:hello(),FlowException,default,nacos-consumer|1,0
2022-04-01 17:14:58|1|com.example.demo.service.HelloService:hello(),FlowException,default,nacos-consumer|4,0
 
 
# 热点限流日志
2022-04-03 19:34:24|1|hello,ParamFlowException,$D,|8,0
2022-04-03 19:36:31|1|hello,ParamFlowException,$D,|8,0
2022-04-03 19:37:56|1|hello,ParamFlowException,$D,|8,0
2022-04-03 19:38:41|1|hello,ParamFlowException,$D,|8,0
2022-04-03 19:40:54|1|hello,ParamFlowException,$D,|8,0
2022-04-03 19:43:13|1|hello,ParamFlowException,$D,|9,0
2022-04-03 19:44:13|1|hello2,ParamFlowException,gtlx,|9,0
2022-04-03 19:46:03|1|hello2,ParamFlowException,gtlx,|8,0
2022-04-03 19:47:11|1|hello2,ParamFlowException,gtlx,|9,0
2022-04-03 19:48:01|1|hello2,ParamFlowException,gtlx,|1,0
2022-04-03 19:48:02|1|hello2,ParamFlowException,gtlx,|7,0
2022-04-03 19:48:47|1|hello2,ParamFlowException,gtlx,|8,0
2022-04-03 19:49:26|1|hello2,ParamFlowException,gtlx,|8,0
2022-04-03 20:22:17|1|hello2,ParamFlowException,gtlx,|8,0
2022-04-03 20:25:19|1|hello2,ParamFlowException,gtlx,|8,0
2022-04-03 20:28:43|1|hello2,ParamFlowException,gtlx,|8,0
2022-04-03 20:29:35|1|hello2,ParamFlowException,gtlx,|7,0
2022-04-03 20:40:56|1|hello2,ParamFlowException,gtlx,|8,0
2022-04-03 20:43:53|1|hello,ParamFlowException,$D,|8,0
2022-04-03 20:47:52|1|hello,ParamFlowException,$D,|8,0
2022-04-03 20:51:05|1|hello,ParamFlowException,$D,|8,0
2022-04-03 20:51:52|1|test,ParamFlowException,$D,|9,0
2022-04-03 20:53:20|1|test,ParamFlowException,$D,|9,0
2022-04-03 20:53:29|1|hello,ParamFlowException,$D,|9,0
2022-04-03 20:53:31|1|hello,ParamFlowException,$D,|9,0
2022-04-03 20:54:00|1|test,ParamFlowException,$D,|9,0
2022-04-03 20:54:14|1|test,ParamFlowException,$D,|9,0
2022-04-03 20:54:18|1|test,ParamFlowException,$D,|9,0
2022-04-03 20:54:23|1|test,ParamFlowException,$D,|9,0
2022-04-03 20:54:49|1|hello,ParamFlowException,$D,|9,0
2022-04-03 20:57:15|1|hello2,ParamFlowException,gtlx,|8,0
2022-04-03 20:57:30|1|hello2,ParamFlowException,gtlx,|8,0
2022-04-03 21:21:12|1|test,ParamFlowException,$D,|49,0
2022-04-03 21:21:18|1|hello,ParamFlowException,$D,|9,0
2022-04-03 21:21:19|1|hello,ParamFlowException,$D,|10,0
2022-04-03 21:21:22|1|hello2,ParamFlowException,gtlx,|18,0
2022-04-03 21:21:23|1|hello2,ParamFlowException,gtlx,|10,0
2022-04-03 21:36:58|1|hello,ParamFlowException,$D,|9,0
2022-04-03 21:37:49|1|test,ParamFlowException,$D,|9,0
2022-04-03 21:41:25|1|test2,ParamFlowException,20,|9,0
2022-04-03 21:41:29|1|test2,ParamFlowException,20,|9,0
2022-04-03 21:44:19|1|hello2,ParamFlowException,gtlx,|8,0
2022-04-05 10:14:47|1|com.example.demo.service.HelloService:hello(java.lang.String),ParamFlowException,瓜田李下,|9,0
2022-04-05 10:30:56|1|com.example.demo.service.HelloService:hello(java.lang.String),ParamFlowException,瓜田李下,|8,0
2022-04-05 10:36:24|1|com.example.demo.service.HelloService:hello(java.lang.String),ParamFlowException,瓜田李下,|6,0
 
 
# 熔断降级拦截日志
2022-04-06 16:28:36|1|com.example.demo.service.HelloService:hello(),DegradeException,default,|4,0
2022-04-06 16:29:52|1|com.example.demo.service.HelloService:hello(),DegradeException,default,|5,0
2022-04-06 16:30:33|1|com.example.demo.service.HelloService:hello(),DegradeException,default,|5,0
2022-04-06 16:34:19|1|com.example.demo.service.HelloService:hello(),DegradeException,default,|5,0
2022-04-06 16:36:45|1|com.example.demo.service.HelloService:hello(),DegradeException,default,|5,0
2022-04-06 16:40:05|1|com.example.demo.service.HelloService:hello(),DegradeException,default,|5,0
2022-04-06 16:41:16|1|com.example.demo.service.HelloService:hello(),DegradeException,default,|5,0
2022-04-06 16:45:41|1|com.example.demo.service.HelloService:hello(),DegradeException,default,|5,0
2022-04-06 17:04:11|1|com.example.demo.service.HelloService:hello(),DegradeException,default,|5,0
2022-04-06 17:07:48|1|com.example.demo.service.HelloService:hello(),DegradeException,default,|5,0
2022-04-06 17:08:23|1|com.example.demo.service.HelloService:hello(),DegradeException,default,|5,0
2022-04-06 17:12:26|1|com.example.demo.service.HelloService:hello(),DegradeException,default,|5,0
 
 
# 来源访问拦截日志
2022-04-06 22:00:32|1|testABC,AuthorityException,appB,appB|1,0
2022-04-06 22:00:32|1|testABC,AuthorityException,appC,appC|1,0
2022-04-06 22:11:29|1|testABC,AuthorityException,appB,appB|1,0
2022-04-06 22:11:29|1|testABC,AuthorityException,appC,appC|1,0
2022-04-06 22:25:37|1|hello,AuthorityException,appA,appA|1,0
2022-04-06 22:54:50|1|hello,AuthorityException,127.0.0.1,127.0.0.1|1,0
2022-04-06 22:56:11|1|hello,AuthorityException,127.0.0.1,127.0.0.1|1,0
2022-04-06 22:57:54|1|/hello,AuthorityException,127.0.0.1,127.0.0.1|1,0
2022-04-06 22:58:48|1|/hello,AuthorityException,127.0.0.1,127.0.0.1|1,0
2022-04-06 22:59:55|1|/hello,AuthorityException,127.0.0.1,127.0.0.1|1,0
2022-04-06 23:01:59|1|/hello,AuthorityException,127.0.0.1,127.0.0.1|1,0
2022-04-06 23:02:40|1|/hello,AuthorityException,127.0.0.1,127.0.0.1|1,0
2022-04-06 23:03:17|1|/hello,AuthorityException,127.0.0.1,127.0.0.1|1,0
2022-04-07 00:14:04|1|/hello,AuthorityException,127.0.0.1,127.0.0.1|1,0
2022-04-07 00:17:15|1|/hello,AuthorityException,127.0.0.1,127.0.0.1|1,0
2022-04-07 00:27:39|1|/hello,AuthorityException,127.0.0.1,127.0.0.1|1,0
2022-04-07 00:28:49|1|/hello,AuthorityException,0:0:0:0:0:0:0:1,0:0:0:0:0:0:0:1|1,0
             

秒级监控日志:资源访问指标数据日志,包括异常数、响应时间、并发数等

日志路径:${user_home}/logs/csp/${app_name}-${pid}-metrics.log.2022-03-31

说明:${pid}默认不开启,csp.sentinel.log.use.pid设置为true可开启

# 日志文件名称:nacos-provider2-metrics.log.2022-03-31(appName默认为spring.application.name)
# 日志格式说明:时间戳|日期时间|资源名称|通过的请求数|拦截的请求数|每秒结束的资源数(包括正常、异常请求)|异常数量|平均响应时间|该秒占用未来请求的数目|最大并发数|资源分类
1648724291000|2022-03-31 18:58:11|org.apache.dubbo.rpc.service.GenericService:$invoke(java.lang.String,[Ljava.lang.String;,[Ljava.lang.Object;)|4|0|4|0|22|0|0|2
1648724291000|2022-03-31 18:58:11|org.apache.dubbo.rpc.service.GenericService|4|0|4|0|25|0|0|2
1648724295000|2022-03-31 18:58:15|com.alibaba.cloud.dubbo.service.DubboMetadataService:getExportedURLs(java.lang.String,java.lang.String,java.lang.String)|1|0|1|0|3|0|0|2
1648724295000|2022-03-31 18:58:15|com.alibaba.cloud.dubbo.service.DubboMetadataService|1|0|1|0|3|0|0|2
1648724295000|2022-03-31 18:58:15|__total_inbound_traffic__|2|0|2|0|3|0|0|0
1648724298000|2022-03-31 18:58:18|com.alibaba.cloud.dubbo.service.DubboMetadataService:getServiceRestMetadata()|1|0|1|0|0|0|0|2
1648724298000|2022-03-31 18:58:18|com.alibaba.cloud.dubbo.service.DubboMetadataService:getExportedURLs(java.lang.String,java.lang.String,java.lang.String)|1|0|1|0|0|0|0|2
1648724298000|2022-03-31 18:58:18|com.alibaba.cloud.dubbo.service.DubboMetadataService|2|0|2|0|1|0|0|2
1648724298000|2022-03-31 18:58:18|__total_inbound_traffic__|4|0|4|0|0|0|0|0
1648724299000|2022-03-31 18:58:19|com.alibaba.cloud.dubbo.service.DubboMetadataService:getExportedURLs(java.lang.String,java.lang.String,java.lang.String)|1|0|1|0|0|0|0|2
1648724299000|2022-03-31 18:58:19|com.alibaba.cloud.dubbo.service.DubboMetadataService|1|0|1|0|0|0|0|2
1648724299000|2022-03-31 18:58:19|__total_inbound_traffic__|2|0|2|0|0|0|0|0
1648724301000|2022-03-31 18:58:21|org.apache.dubbo.rpc.service.GenericService:$invoke(java.lang.String,[Ljava.lang.String;,[Ljava.lang.Object;)|1|0|0|0|0|0|0|2
1648724301000|2022-03-31 18:58:21|org.apache.dubbo.rpc.service.GenericService|1|0|0|0|0|0|0|2
1648724302000|2022-03-31 18:58:22|org.apache.dubbo.rpc.service.GenericService:$invoke(java.lang.String,[Ljava.lang.String;,[Ljava.lang.Object;)|2|0|3|0|6|0|0|2
1648724302000|2022-03-31 18:58:22|org.apache.dubbo.rpc.service.GenericService|2|0|3|0|6|0|0|2
1648724305000|2022-03-31 18:58:25|com.alibaba.cloud.dubbo.service.DubboMetadataService:getExportedURLs(java.lang.String,java.lang.String,java.lang.String)|1|0|1|0|0|0|0|2
1648724305000|2022-03-31 18:58:25|com.alibaba.cloud.dubbo.service.DubboMetadataService|1|0|1|0|0|0|0|2
1648724305000|2022-03-31 18:58:25|__total_inbound_traffic__|2|0|2|0|0|0|0|0
1648724307000|2022-03-31 18:58:27|com.example.demo.service.HelloService:hello()|1|0|1|0|0|0|0|2
1648724307000|2022-03-31 18:58:27|com.example.demo.service.HelloService|1|0|1|0|1|0|0|2
1648724307000|2022-03-31 18:58:27|__total_inbound_traffic__|2|0|2|0|0|0|0|0
1648724308000|2022-03-31 18:58:28|com.example.demo.service.HelloService:hello()|1|0|1|0|0|0|0|2
1648724308000|2022-03-31 18:58:28|com.example.demo.service.HelloService|1|0|1|0|0|0|0|2
1648724308000|2022-03-31 18:58:28|com.alibaba.cloud.dubbo.service.DubboMetadataService:getExportedURLs(java.lang.String,java.lang.String,java.lang.String)|1|0|1|0|0|0|0|2
1648724308000|2022-03-31 18:58:28|com.alibaba.cloud.dubbo.service.DubboMetadataService|1|0|1|0|0|0|0|2
1648724308000|2022-03-31 18:58:28|__total_inbound_traffic__|4|0|4|0|0|0|0|0
1648724312000|2022-03-31 18:58:32|com.example.demo.service.HelloService:hello()|1|0|1|0|0|0|0|2
1648724312000|2022-03-31 18:58:32|com.example.demo.service.HelloService|1|0|1|0|0|0|0|2
1648724312000|2022-03-31 18:58:32|__total_inbound_traffic__|2|0|2|0|0|0|0|0
1648724506000|2022-03-31 19:01:46|com.alibaba.cloud.dubbo.service.DubboMetadataService:getExportedURLs(java.lang.String,java.lang.String,java.lang.String)|1|0|1|0|2|0|0|2
1648724506000|2022-03-31 19:01:46|com.alibaba.cloud.dubbo.service.DubboMetadataService|1|0|1|0|2|0|0|2
1648724506000|2022-03-31 19:01:46|__total_inbound_traffic__|2|0|2|0|2|0|0|0
1648724509000|2022-03-31 19:01:49|com.alibaba.cloud.dubbo.service.DubboMetadataService:getExportedURLs(java.lang.String,java.lang.String,java.lang.String)|1|0|1|0|0|0|0|2
1648724509000|2022-03-31 19:01:49|com.alibaba.cloud.dubbo.service.DubboMetadataService|1|0|1|0|0|0|0|2
1648724509000|2022-03-31 19:01:49|__total_inbound_traffic__|2|0|2|0|0|0|0|0
1648724512000|2022-03-31 19:01:52|org.apache.dubbo.rpc.service.GenericService:$invoke(java.lang.String,[Ljava.lang.String;,[Ljava.lang.Object;)|2|0|2|0|3|0|0|2
1648724512000|2022-03-31 19:01:52|org.apache.dubbo.rpc.service.GenericService|2|0|2|0|3|0|0|2
1648724532000|2022-03-31 19:02:12|org.apache.dubbo.rpc.service.GenericService:$invoke(java.lang.String,[Ljava.lang.String;,[Ljava.lang.Object;)|1|0|1|0|4|0|0|2
1648724532000|2022-03-31 19:02:12|org.apache.dubbo.rpc.service.GenericService|1|0|1|0|4|0|0|2
1648724535000|2022-03-31 19:02:15|com.alibaba.cloud.dubbo.service.DubboMetadataService:getExportedURLs(java.lang.String,java.lang.String,java.lang.String)|1|0|1|0|0|0|0|2
1648724535000|2022-03-31 19:02:15|com.alibaba.cloud.dubbo.service.DubboMetadataService|1|0|1|0|0|0|0|2
1648724535000|2022-03-31 19:02:15|__total_inbound_traffic__|2|0|2|0|0|0|0|0
            

业务日志:记录规则推送、接收、处理等,一般用于排查问题

日志路径:${user_home}/logs/csp/sentinel-record.log.xxx

# 日志名称:sentinel-record.log.2022-04-07.0
2022-04-07 00:10:35.866 INFO [AuthorityRuleManager] Load authority rules: {}
2022-04-07 00:10:35.870 INFO [DynamicSentinelProperty] Config will be updated to: [AuthorityRule{resource=test123, limitApp=app1,app4, strategy=0} ]
2022-04-07 00:10:35.870 INFO [AuthorityRuleManager] Authority rules received: {test123=[AuthorityRule{resource=test123, limitApp=app1,app4, strategy=0} ]}
2022-04-07 00:10:35.871 INFO [DynamicSentinelProperty] Config will be updated to: [AuthorityRule{resource=testABC, limitApp=appA,appB, strategy=1} ]
2022-04-07 00:10:35.871 INFO [AuthorityRuleManager] Authority rules received: {testABC=[AuthorityRule{resource=testABC, limitApp=appA,appB, strategy=1} ]}
2022-04-07 00:10:35.903 INFO Add child <sentinel_default_context> to node <machine-root>
2022-04-07 00:10:35.907 INFO Add child <name> to node <machine-root>
2022-04-07 00:10:35.935 INFO App name resolved from default: com.example.demo.test.AuthorityDemo
2022-04-07 00:10:35.936 INFO [SentinelConfig] Application type resolved: 0
2022-04-07 00:10:35.947 INFO [InitExecutor] Found init func: com.example.demo.config.CustomAuthorityRule
2022-04-07 00:10:35.966 INFO [InitExecutor] Found init func: com.alibaba.csp.sentinel.transport.init.CommandCenterInitFunc
2022-04-07 00:10:35.979 INFO [InitExecutor] Found init func: com.alibaba.csp.sentinel.transport.init.HeartbeatSenderInitFunc
2022-04-07 00:10:35.983 INFO [InitExecutor] Found init func: com.alibaba.csp.sentinel.metric.extension.MetricCallbackInit
2022-04-07 00:10:35.986 INFO [InitExecutor] Found init func: com.alibaba.csp.sentinel.init.ParamFlowStatisticSlotCallbackInit
2022-04-07 00:10:35.989 INFO [InitExecutor] Found init func: com.alibaba.csp.sentinel.cluster.server.init.DefaultClusterServerInitFunc
2022-04-07 00:10:35.991 INFO [InitExecutor] Found init func: com.alibaba.csp.sentinel.cluster.client.init.DefaultClusterClientInitFunc
2022-04-07 00:10:36.004 INFO [SpiLoader] Found CommandCenter SPI: com.alibaba.csp.sentinel.transport.command.SimpleHttpCommandCenter with order 2147483647
2022-04-07 00:10:36.005 INFO [CommandCenterProvider] CommandCenter resolved: com.alibaba.csp.sentinel.transport.command.SimpleHttpCommandCenter
2022-04-07 00:10:36.047 INFO [CommandCenterInit] Starting command center: com.alibaba.csp.sentinel.transport.command.SimpleHttpCommandCenter
2022-04-07 00:10:36.050 INFO [InitExecutor] Executing com.alibaba.csp.sentinel.transport.init.CommandCenterInitFunc with order -1
2022-04-07 00:10:36.223 WARNING [SimpleHttpHeartbeatSender] Dashboard server address not configured or not available
            

集群限流日志:记录集群请求失败信息

日志路径:${user_home}/logs/csp/sentinel-cluster-client.log

022-04-01 16:24:35|1|no rules in token server|3,0
2022-04-01 16:26:53|1|no rules in token server|5,0
2022-04-01 16:35:03|1|no rules in token server|4,0
2022-04-01 16:35:03|1|no rules in token server|3,0
2022-04-01 16:36:45|1|no rules in token server|2,0
2022-04-01 16:36:45|1|no rules in token server|5,0
2022-04-01 16:37:55|1|no rules in token server|2,0
2022-04-01 16:37:55|1|no rules in token server|2,0
2022-04-01 16:38:42|1|no rules in token server|1,0
2022-04-01 16:38:43|1|no rules in token server|1,0
2022-04-01 16:38:43|1|no rules in token server|3,0
2022-04-01 16:39:04|1|no rules in token server|3,0
2022-04-01 16:39:04|1|no rules in token server|3,0
2022-04-01 16:42:21|1|no rules in token server|4,0
2022-04-01 16:42:21|1|no rules in token server|4,0
2022-04-01 16:42:37|1|no rules in token server|1,0
2022-04-01 16:42:37|1|no rules in token server|7,0
2022-04-01 16:47:14|1|no rules in token server|7,0
2022-04-01 16:47:14|1|no rules in token server|2,0
2022-04-01 16:49:03|1|no rules in token server|4,0
2022-04-01 16:49:03|1|no rules in token server|2,0
2022-04-01 16:52:10|1|client not ready|6,0
2022-04-01 16:53:05|1|client not ready|4,0
2022-04-01 16:56:21|1|no rules in token server|1,0
2022-04-01 16:57:41|1|client not ready|3,0
2022-04-01 16:57:41|1|client not ready|7,0
2022-04-01 16:57:46|1|client not ready|9,0
2022-04-01 16:57:46|1|client not ready|1,0
2022-04-01 16:57:58|1|client not ready|8,0
2022-04-01 16:57:58|1|client not ready|2,0
2022-04-01 16:58:49|1|client not ready|7,0
2022-04-01 16:58:49|1|client not ready|3,0
2022-04-01 17:10:02|1|no rules in token server|4,0
2022-04-01 17:10:02|1|no rules in token server|4,0
2022-04-01 17:14:58|1|no rules in token server|3,0
2022-04-01 17:14:58|1|no rules in token server|5,0
————————————————
版权声明:本文为CSDN博主「o_瓜田李下_o」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/weixin_43931625/article/details/124004849

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值