Skip to content

Commit 5267c80

Browse files
committed
Update Readme
1 parent bf24d57 commit 5267c80

File tree

1 file changed

+98
-0
lines changed

1 file changed

+98
-0
lines changed

README.md

Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,101 @@ cse:
5353
enable: true
5454
```
5555

56+
#### Data Post
57+
58+
Every 2 sec data will be posted to monitoring server if serverUri is correct and enable is true
59+
60+
The data formate after post
61+
```
62+
[
63+
[
64+
{
65+
"time": 1526905902632,
66+
"appId": "default",
67+
"version": "0.0.1",
68+
"qps": 0.16,
69+
"latency": 0,
70+
"failureRate": 0,
71+
"total": 2,
72+
"breakerRateAgg": 0,
73+
"circuitBreakerOpen": false,
74+
"failure": 0,
75+
"shortCircuited": 0,
76+
"semaphoreRejected": 0,
77+
"threadPoolRejected": 0,
78+
"countTimeout": 0,
79+
"l995": 0,
80+
"l99": 0,
81+
"l90": 0,
82+
"l75": 0,
83+
"l50": 0,
84+
"l25": 0,
85+
"l5": 0,
86+
"instanceId": "6a0895085cf211e8bb850255ac105551",
87+
"thread": 11,
88+
"cpu": 4,
89+
"memory": {
90+
"heapAlloc": 2294040,
91+
"heapIdle": 1671168,
92+
"heapInUse": 3768320,
93+
"heapObjects": 19609,
94+
"heapReleased": 0,
95+
"heapSys": 5439488
96+
},
97+
"functionCount": 1,
98+
"customs": null,
99+
"name": "root1-ThinkPad-T440p"
100+
}
101+
]
102+
]
103+
104+
```
105+
106+
#### Data Flush
107+
108+
Every 10sec data will be flushed
109+
```
110+
[
111+
[
112+
{
113+
"time": 1526905933600,
114+
"appId": "default",
115+
"version": "0.0.1",
116+
"qps": 0,
117+
"latency": 0,
118+
"failureRate": 0,
119+
"total": 0,
120+
"breakerRateAgg": 0,
121+
"circuitBreakerOpen": false,
122+
"failure": 0,
123+
"shortCircuited": 0,
124+
"semaphoreRejected": 0,
125+
"threadPoolRejected": 0,
126+
"countTimeout": 0,
127+
"l995": 0,
128+
"l99": 0,
129+
"l90": 0,
130+
"l75": 0,
131+
"l50": 0,
132+
"l25": 0,
133+
"l5": 0,
134+
"instanceId": "6a0895085cf211e8bb850255ac105551",
135+
"thread": 11,
136+
"cpu": 4,
137+
"memory": {
138+
"heapAlloc": 2649632,
139+
"heapIdle": 1597440,
140+
"heapInUse": 3874816,
141+
"heapObjects": 24737,
142+
"heapReleased": 0,
143+
"heapSys": 5472256
144+
},
145+
"functionCount": 1,
146+
"customs": null,
147+
"name": "root1-ThinkPad-T440p"
148+
}
149+
]
150+
]
151+
```
152+
153+
If perticular micro service has more than one instance and if request has been sent to perticular instance then only for that instance all the value should change.

0 commit comments

Comments
 (0)