pub struct ImporterMetrics {
pub block_height: Gauge,
pub latest_block_import_timestamp: Gauge<f64, AtomicU64>,
pub execute_and_commit_duration: Histogram,
pub gas_per_block: Gauge,
pub fee_per_block: Gauge,
pub transactions_per_block: Gauge,
pub gas_price: Gauge,
}
Fields§
§block_height: Gauge
§latest_block_import_timestamp: Gauge<f64, AtomicU64>
§execute_and_commit_duration: Histogram
§gas_per_block: Gauge
§fee_per_block: Gauge
§transactions_per_block: Gauge
§gas_price: Gauge
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ImporterMetrics
impl !RefUnwindSafe for ImporterMetrics
impl Send for ImporterMetrics
impl Sync for ImporterMetrics
impl Unpin for ImporterMetrics
impl !UnwindSafe for ImporterMetrics
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