Skip to content

Commit

Permalink
Added docs to the metrics (MystenLabs#3781)
Browse files Browse the repository at this point in the history
Co-authored-by: George Danezis <george@danez.is>
  • Loading branch information
gdanezis and George Danezis authored Aug 5, 2022
1 parent a90509a commit acf217d
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions crates/sui-core/src/consensus_adapter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,49 +89,49 @@ impl ConsensusAdapterMetrics {
Some(Arc::new(ConsensusAdapterMetrics {
sequencing_certificate_attempt: register_int_counter_with_registry!(
"sequencing_certificate_attempt",
"TODO",
"Counts the number of certifiates the validator attempts to sequence.",
registry,
)
.unwrap(),
sequencing_certificate_success: register_int_counter_with_registry!(
"sequencing_certificate_success",
"TODO",
"Counts the number of successfully sequenced certificates.",
registry,
)
.unwrap(),
sequencing_certificate_timeouts: register_int_counter_with_registry!(
"sequencing_certificate_timeouts",
"TODO",
"Counts the number of sequenced certificates that timed out.",
registry,
)
.unwrap(),
sequencing_certificate_control_delay: register_int_gauge_with_registry!(
"sequencing_certificate_control_delay",
"Current number of concurrent follower connections",
"The estimated latency for the certificate sequencer.",
registry,
)
.unwrap(),
sequencing_fragment_attempt: register_int_counter_with_registry!(
"sequencing_fragment_attempt",
"TODO",
"Counts the number of sequenced fragments submitted.",
registry,
)
.unwrap(),
sequencing_fragment_success: register_int_counter_with_registry!(
"sequencing_fragment_success",
"TODO",
"Counts the number of successfully sequenced fragments.",
registry,
)
.unwrap(),
sequencing_fragment_timeouts: register_int_counter_with_registry!(
"sequencing_fragment_timeouts",
"TODO",
"Counts the number of sequenced fragments that timed out.",
registry,
)
.unwrap(),
sequencing_fragment_control_delay: register_int_gauge_with_registry!(
"sequencing_fragment_control_delay",
"Current number of concurrent follower connections",
"The estimated latency of sequencing fragments.",
registry,
)
.unwrap(),
Expand Down

0 comments on commit acf217d

Please sign in to comment.