@@ -122,33 +122,33 @@ local function update()
122
122
123
123
-- Tarantool 3.0 memory statistics
124
124
125
- local ok , memtx_stat = pcall (box .stat .memtx )
125
+ local ok , memtx_stat_3 = pcall (box .stat .memtx )
126
126
if not ok then
127
127
return
128
128
end
129
129
130
130
collectors_list .memtx_tuples_data_total =
131
131
utils .set_gauge (' memtx_tuples_data_total' ,
132
132
' Total amount of memory allocated for data tuples' ,
133
- memtx_stat .data .total , nil , nil , {default = true })
133
+ memtx_stat_3 .data .total , nil , nil , {default = true })
134
134
collectors_list .memtx_tuples_data_read_view =
135
135
utils .set_gauge (' memtx_tuples_data_read_view' ,
136
136
' Memory held for read views' ,
137
- memtx_stat .data .read_view , {kind = " read_view" }, nil , {default = true })
137
+ memtx_stat_3 .data .read_view , {kind = " read_view" }, nil , {default = true })
138
138
collectors_list .memtx_tuples_data_garbage =
139
139
utils .set_gauge (' memtx_tuples_data_garbage' ,
140
140
' Memory that is unused and scheduled to be freed' ,
141
- memtx_stat .data .garbage , nil , nil , {default = true })
141
+ memtx_stat_3 .data .garbage , nil , nil , {default = true })
142
142
143
143
144
144
collectors_list .memtx_index_extents_total =
145
145
utils .set_gauge (' memtx_index_extents_total' ,
146
146
' Total amount of memory allocated for indexing data' ,
147
- memtx_stat .data .total , nil , nil , {default = true })
147
+ memtx_stat_3 .data .total , nil , nil , {default = true })
148
148
collectors_list .memtx_index_extents_read_view =
149
149
utils .set_gauge (' memtx_index_extents_read_view' ,
150
150
' Memory held for read views' ,
151
- memtx_stat .data .read_view , nil , nil , {default = true })
151
+ memtx_stat_3 .data .read_view , nil , nil , {default = true })
152
152
153
153
end
154
154
0 commit comments