Report highest_confirmed_root and _slot in commitment metric (#13964) (#13968)

(cherry picked from commit ca35bb3ac8)

Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
This commit is contained in:
mergify[bot]
2020-12-05 02:13:15 +00:00
committed by GitHub
parent 363b9d7209
commit add6989289

View File

@ -113,7 +113,17 @@ impl AggregateCommitmentService {
"aggregate-commitment-ms",
aggregate_commitment_time.as_ms() as i64,
i64
)
),
(
"highest-confirmed-root",
update_commitment_slots.highest_confirmed_root as i64,
i64
),
(
"highest-confirmed-slot",
update_commitment_slots.highest_confirmed_slot as i64,
i64
),
);
// Triggers rpc_subscription notifications as soon as new commitment data is available,