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

(cherry picked from commit ca35bb3ac8)

Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
This commit is contained in:
mergify[bot]
2020-12-05 02:22:30 +00:00
committed by GitHub
parent fe0297983f
commit b410c57f66

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,