-
-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathmetrics.json
333 lines (333 loc) · 11.5 KB
/
metrics.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
{
"core_statistics": {
"goroutines": 7,
"uptime": "43.03 m"
},
"load_statistics": {
"service_cpu_load": "0.04%",
"system_cpu_load": "11.21%",
"total_cpu_load": "11.28%",
"service_memory_load": "0.10%",
"system_memory_load": "78.61%",
"total_memory_load": "16.00 GB",
"overall_load_of_service": "0.07%"
},
"cpu_statistics": {
"total_cores": 10,
"total_logical_cores": 10,
"cores_used_by_system": 1.131,
"cores_used_by_service": 0.004,
"cores_used_by_service_in_percent": "0.00%",
"cores_used_by_system_in_percent": "1.13%"
},
"memory_statistics": {
"total_system_memory": "16.00 GB",
"memory_used_by_system": "12.58 GB",
"memory_used_by_service": "865.34 KB",
"available_memory": "3.42 GB",
"gc_pause_duration": "11.28 ms",
"stack_memory_usage": "704.00 KB",
"total_swap_memory": "2.00 GB",
"free_swap_memory": "1.25 GB",
"mem_stats_records": [
{
"record_name": "Alloc",
"record_description": "Bytes of allocated heap objects.",
"record_value": 865.34375,
"record_unit": "KB"
},
{
"record_name": "TotalAlloc",
"record_description": "Cumulative bytes allocated for heap objects.",
"record_value": 88.43869018554688,
"record_unit": "MB"
},
{
"record_name": "Sys",
"record_description": "Total bytes of memory obtained from the OS.",
"record_value": 23.15747833251953,
"record_unit": "MB"
},
{
"record_name": "Lookups",
"record_description": "Number of pointer lookups performed by the runtime.",
"record_value": 0,
"record_unit": "bytes"
},
{
"record_name": "Mallocs",
"record_description": "Cumulative count of heap objects allocated.",
"record_value": 73.4013671875,
"record_unit": "KB"
},
{
"record_name": "Frees",
"record_description": "Cumulative count of heap objects freed.",
"record_value": 70.55859375,
"record_unit": "KB"
},
{
"record_name": "HeapAlloc",
"record_description": "Bytes of allocated heap objects.",
"record_value": 865.34375,
"record_unit": "KB"
},
{
"record_name": "HeapSys",
"record_description": "Bytes of heap memory obtained from the OS.",
"record_value": 15.3125,
"record_unit": "MB"
},
{
"record_name": "HeapIdle",
"record_description": "Bytes in idle (unused) spans.",
"record_value": 13.5546875,
"record_unit": "MB"
},
{
"record_name": "HeapInuse",
"record_description": "Bytes in in-use spans.",
"record_value": 1.7578125,
"record_unit": "MB"
},
{
"record_name": "HeapReleased",
"record_description": "Bytes of physical memory returned to the OS.",
"record_value": 12.46875,
"record_unit": "MB"
},
{
"record_name": "HeapObjects",
"record_description": "Number of allocated heap objects.",
"record_value": 2.8427734375,
"record_unit": "KB"
},
{
"record_name": "StackInuse",
"record_description": "Bytes in stack spans.",
"record_value": 704,
"record_unit": "KB"
},
{
"record_name": "StackSys",
"record_description": "Bytes of stack memory obtained from the OS.",
"record_value": 704,
"record_unit": "KB"
},
{
"record_name": "MSpanInuse",
"record_description": "Bytes of allocated mspan structures.",
"record_value": 121.40625,
"record_unit": "KB"
},
{
"record_name": "MSpanSys",
"record_description": "Bytes of memory obtained from the OS for mspan structures.",
"record_value": 143.2265625,
"record_unit": "KB"
},
{
"record_name": "MCacheInuse",
"record_description": "Bytes of allocated mcache structures.",
"record_value": 11.71875,
"record_unit": "KB"
},
{
"record_name": "MCacheSys",
"record_description": "Bytes of memory obtained from the OS for mcache structures.",
"record_value": 15.234375,
"record_unit": "KB"
},
{
"record_name": "BuckHashSys",
"record_description": "Bytes of memory in profiling bucket hash tables.",
"record_value": 1.3863096237182617,
"record_unit": "MB"
},
{
"record_name": "GCSys",
"record_description": "Bytes of memory in garbage collection metadata.",
"record_value": 3.628448486328125,
"record_unit": "MB"
},
{
"record_name": "OtherSys",
"record_description": "Bytes of memory in miscellaneous off-heap runtime allocations.",
"record_value": 1.9879732131958008,
"record_unit": "MB"
},
{
"record_name": "NextGC",
"record_description": "Target heap size of the next GC cycle.",
"record_value": 4,
"record_unit": "MB"
},
{
"record_name": "LastGC",
"record_description": "Time the last garbage collection finished (nanoseconds since the UNIX epoch).",
"record_value": 1607924212.7972786,
"record_unit": "GB"
},
{
"record_name": "PauseTotalNs",
"record_description": "Cumulative nanoseconds in GC stop-the-world pauses since program start.",
"record_value": 10.7582426071167,
"record_unit": "MB"
},
{
"record_name": "NumGC",
"record_description": "Number of completed GC cycles.",
"record_value": 34,
"record_unit": "bytes"
},
{
"record_name": "NumForcedGC",
"record_description": "Number of GC cycles that were forced by the application calling GC.",
"record_value": 0,
"record_unit": "bytes"
},
{
"record_name": "GCCPUFraction",
"record_description": "Fraction of this program's available CPU time used by the GC.",
"record_value": 0.000006618374769890565,
"record_unit": "fraction"
}
],
"raw_mem_stats_records": [
{
"record_name": "alloc",
"record_value": 886.112
},
{
"record_name": "total_alloc",
"record_value": 92734.688
},
{
"record_name": "sys",
"record_value": 24282.376
},
{
"record_name": "sys",
"record_value": 24282.376
},
{
"record_name": "lookups",
"record_value": 0
},
{
"record_name": "mallocs",
"record_value": 75.163
},
{
"record_name": "frees",
"record_value": 72.252
},
{
"record_name": "heap_alloc",
"record_value": 886.112
},
{
"record_name": "heap_sys",
"record_value": 16056.32
},
{
"record_name": "heap_idle",
"record_value": 14213.12
},
{
"record_name": "heap_inuse",
"record_value": 1843.2
},
{
"record_name": "heap_released",
"record_value": 13074.432
},
{
"record_name": "heap_objects",
"record_value": 2.911
},
{
"record_name": "stack_inuse",
"record_value": 720.896
},
{
"record_name": "stack_sys",
"record_value": 720.896
},
{
"record_name": "m_span_inuse",
"record_value": 124.32
},
{
"record_name": "m_span_sys",
"record_value": 146.664
},
{
"record_name": "m_cache_inuse",
"record_value": 12
},
{
"record_name": "m_cache_sys",
"record_value": 15.6
},
{
"record_name": "buck_hash_sys",
"record_value": 1453.651
},
{
"record_name": "gc_sys",
"record_value": 3804.704
},
{
"record_name": "other_sys",
"record_value": 2084.541
},
{
"record_name": "next_gc",
"record_value": 4194.304
},
{
"record_name": "last_gc",
"record_value": 1726495477102714
},
{
"record_name": "pause_total_ns",
"record_value": 11280.835
},
{
"record_name": "num_gc",
"record_value": 0.034
},
{
"record_name": "num_forced_gc",
"record_value": 0
},
{
"record_name": "gc_cpu_fraction",
"record_value": 6.618374769890565e-9
}
]
},
"heap_alloc_by_service": "865.34 KB",
"heap_alloc_by_system": "15.31 MB",
"total_alloc_by_service": "88.44 MB",
"total_memory_by_os": "23.16 MB",
"network_io": {
"bytes_sent": 6356356846,
"bytes_received": 11929894738
},
"health": {
"system_health": {
"percent": 0,
"healthy": false,
"message": "[Oops] The Overall Health is in rough shape. Time to call in the cavalry and get things back on track!",
"icon_msg": "System usage exceeds allowed limits: CPU Usage 198.33% / 90.00%, Memory Usage 87.36% / 90.00%"
},
"service_health": {
"percent": 97.53,
"healthy": true,
"message": "[Outstanding] The Overall Health is rocking it! Everything’s running smoothly and life is good.",
"icon_msg": "Service usage is within limits: CPU Usage 0.40% / 90.00%, Memory Usage 0.01% / 90.00%, Goroutines 7.00 / 100"
}
}
}