File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
15
15
### Added
16
16
17
17
- Label ` thread ` for per thread reporting net statistics metrics.
18
- - ` tnt_cartridge_failover_trigger ` metric
18
+ - ` tnt_cartridge_failover_trigger_total ` metric
19
19
- New synchro and election metrics:
20
20
- ` tnt_synchro_queue_owner `
21
21
- ` tnt_synchro_queue_term `
Original file line number Diff line number Diff line change @@ -411,7 +411,7 @@ Cartridge
411
411
* ``max `` -- difference with the fastest clock (always positive),
412
412
* ``min `` -- difference with the slowest clock (always negative).
413
413
414
- * - ``tnt_cartridge_failover_trigger ``
414
+ * - ``tnt_cartridge_failover_trigger_total ``
415
415
- Count of failover triggers in cluster.
416
416
417
417
.. _metrics-reference-luajit :
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ local function update()
16
16
if trigger_cnt ~= nil then
17
17
collectors_list .trigger_cnt =
18
18
utils .set_counter (
19
- ' cartridge_failover_trigger ' ,
19
+ ' cartridge_failover_trigger_total ' ,
20
20
' Count of Cartridge Failover triggers' ,
21
21
trigger_cnt
22
22
)
Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ g.test_failover = function()
137
137
138
138
helpers .retrying ({timeout = 30 }, function ()
139
139
local resp = g .cluster :server (' replica' ):http_request (' get' , ' /metrics' )
140
- local failover_trigger_cnt = utils .find_metric (' tnt_cartridge_failover_trigger ' , resp .json )
140
+ local failover_trigger_cnt = utils .find_metric (' tnt_cartridge_failover_trigger_total ' , resp .json )
141
141
t .assert_equals (failover_trigger_cnt [1 ].value , 1 )
142
142
end )
143
143
You can’t perform that action at this time.
0 commit comments