-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Logs
jialianglinjl edited this page Jun 21, 2018
·
11 revisions
All blocks will be recorded in <user directory>/logs/csp/sentinel-block.log
. It contains following info:
2014-06-20 16:35:10|1|sayHello(java.lang.String,long),FlowException,default,origin|61,0
2014-06-20 16:35:11|1|sayHello(java.lang.String,long),FlowException,default,origin|1,0
-
2014-06-20 16:35:10
timestamp -
1
resource index -
sayHello(java.lang.String,long)
resource name -
XXXException
block reason,FlowException
is blocked by flow rules,DegradeException
is blocked by degrade rules,SystemException
is blocked by system rules -
default
thelimitApp
defined in rule -
origin
the blocked reource's origin. it might be empty -
61,0
61 the block count, 0 can be ignored
resources run-time info will be generated in `/logs/csp/-metrics.log.2018-06-21'. By default, the port no is 8719.
1529573107000|2018-06-21 17:25:07|sayHello(java.lang.String,long)|10|10|3601|0|2
-
1529573107000
timestamp in milseconds -
2018-06-21 17:25:07
date -
sayHello(java.lang.String,long)
resource name -
10
the incoming count of the resource per second -
10
the success count of the resource per second -
3601
the block count of the resource per second -
0
the exception count of the resource per second -
2
the avg resource response time per second
all other info is recorded i <user directory>/logs/csp/record.log
-
文档
-
Documents
- Read Me
- Introduction
- How to Use
- How it Works
- Flow Control
- Parameter Flow Control
- Cluster Flow Control
- API Gateway Flow Control
- Circuit Breaking
- Adaptive System Protection
- Metrics
- General Configuration
- Dynamic Rule Configuration
- Dashboard
- Integrations with open-source frameworks
- Contribution Guideline