Report highest_confirmed_root and _slot in commitment metric (#13964)

This commit is contained in:
Tyera Eulberg 2020-12-04 17:50:00 -07:00 committed by GitHub
parent e3a31d896a
commit ca35bb3ac8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 1 deletions

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,