pub struct Metrics;Expand description
Container for metrics.
Implementations§
Source§impl Metrics
impl Metrics
Sourcepub const L1_REORG_COUNT: &str = "kona_node_l1_reorg_count"
pub const L1_REORG_COUNT: &str = "kona_node_l1_reorg_count"
Identifier for the counter that tracks the number of times the L1 has reorganized.
Sourcepub const DERIVATION_L1_ORIGIN: &str = "kona_node_derivation_l1_origin"
pub const DERIVATION_L1_ORIGIN: &str = "kona_node_derivation_l1_origin"
Identifier for the counter that tracks the L1 origin of the derivation pipeline.
Sourcepub const DERIVATION_CRITICAL_ERROR: &str = "kona_node_derivation_critical_errors"
pub const DERIVATION_CRITICAL_ERROR: &str = "kona_node_derivation_critical_errors"
Identifier for the counter of critical derivation errors (strictly for alerting.)
Sourcepub const SEQUENCER_STATE: &str = "kona_node_sequencer_state"
pub const SEQUENCER_STATE: &str = "kona_node_sequencer_state"
Identifier for the counter that tracks sequencer state flags.
Sourcepub const SEQUENCER_ATTRIBUTES_BUILDER_DURATION: &str = "kona_node_sequencer_attributes_build_duration"
pub const SEQUENCER_ATTRIBUTES_BUILDER_DURATION: &str = "kona_node_sequencer_attributes_build_duration"
Gauge for the sequencer’s attributes builder duration.
Sourcepub const SEQUENCER_BLOCK_BUILDING_JOB_DURATION: &str = "kona_node_sequencer_block_building_duration"
pub const SEQUENCER_BLOCK_BUILDING_JOB_DURATION: &str = "kona_node_sequencer_block_building_duration"
Gauge for the sequencer’s block building job duration.
Sourcepub const SEQUENCER_CONDUCTOR_COMMITMENT_DURATION: &str = "kona_node_sequencer_conductor_commitment_duration"
pub const SEQUENCER_CONDUCTOR_COMMITMENT_DURATION: &str = "kona_node_sequencer_conductor_commitment_duration"
Gauge for the sequencer’s conductor commitment duration.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Metrics
impl RefUnwindSafe for Metrics
impl Send for Metrics
impl Sync for Metrics
impl Unpin for Metrics
impl UnwindSafe for Metrics
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more