forked from couchbase/healthchecker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
stats_buffer.py
executable file
·40 lines (38 loc) · 932 Bytes
/
stats_buffer.py
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
nodes = {}
node_stats = {}
buckets_summary = {}
stats_summary = {}
bucket_info = {}
buckets = {}
stats = {
"minute" : {
'disk_write_queue' : {},
'curr_items' : {},
'vb_replica_curr_items' : {},
'curr_connections' : {},
'vb_active_queue_drain' : {},
'vb_replica_queue_drain' : {},
'disk_write_queue' : {},
'vb_active_resident_items_ratio' : {},
'vb_replica_resident_items_ratio' : {},
},
"hour" : {
'disk_write_queue' : {},
'ep_cache_miss_rate' : {},
'curr_items' : {},
'ep_tap_total_total_backlog_size' : { },
'ep_oom_errors' : {},
'ep_tmp_oom_errors' : {},
'vb_active_num' : {},
'vb_replica_num' : {},
"mem_used" : {},
},
"day" : {
'curr_items' : {},
},
"week" : {
'cmd_get' : {},
'cmd_set' : {},
'delete_hits' : {},
},
}