fix: Add replayq_len

Co-authored-by: Thales Macedo Garitezi <thalesmg@gmail.com>
This commit is contained in:
k32 2022-02-15 20:02:46 +01:00 committed by GitHub
parent 6d49754988
commit c00f4ef83c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ add_metric_family({Name, Metrics}, Callback) ->
metrics() -> metrics() ->
Metrics = case mria_rlog:role() of Metrics = case mria_rlog:role() of
replicant -> replicant ->
[lag, bootstrap_time, bootstrap_num_keys, message_queue_len]; [lag, bootstrap_time, bootstrap_num_keys, message_queue_len, replayq_len];
core -> core ->
[last_intercepted_trans, weight, replicants, server_mql] [last_intercepted_trans, weight, replicants, server_mql]
end, end,