pub struct Metrics {Show 30 fields
pub connected: bool,
pub tip_ledger: u32,
pub last_ledger: u32,
pub last_close_time: u32,
pub last_commit_ms: u64,
pub ledgers: u64,
pub transactions: u64,
pub changes: u64,
pub commit_seconds: f64,
pub source_errors: u64,
pub unknown_findings: u64,
pub unknown_last_ledger: u32,
pub unknown_amendments_enabled: u64,
pub unknown_amendments_majority: u64,
pub missing_retries: u64,
pub pending_ledgers: u64,
pub blocks_bytes: u64,
pub state_bytes: u64,
pub confirmed_ledger: u32,
pub validations_connected: bool,
pub validations: u64,
pub validations_rejected: u64,
pub manifests: u64,
pub evidence_ledger: u32,
pub quorum_signers: usize,
pub quorum_needed: usize,
pub unl_size: usize,
pub unl_lists: Vec<UnlList>,
pub coverage: Coverage,
pub api: Api,
}Fields§
§connected: boolThe last tip request to the node succeeded.
tip_ledger: u32Last validated ledger according to the node.
last_ledger: u32Last applied ledger.
last_close_time: u32Close time of the last applied ledger, seconds since the XRPL epoch.
last_commit_ms: u64§ledgers: u64§transactions: u64§changes: u64§commit_seconds: f64Total seconds spent writing ledgers.
source_errors: u64§unknown_findings: u64What the network uses that this build does not know (crate::unknown): findings in written ledgers, the last ledger with one, and amendments enabled or with a majority that are not in the table.
unknown_last_ledger: u32§unknown_amendments_enabled: u64§unknown_amendments_majority: u64§missing_retries: u64Retries because the node does not have the needed ledger.
pending_ledgers: u64§blocks_bytes: u64§state_bytes: u64§confirmed_ledger: u32Last ledger confirmed by a validator quorum.
validations_connected: bool§validations: u64§validations_rejected: u64§manifests: u64§evidence_ledger: u32Last ledger with stored anchor evidence.
quorum_signers: usizeThe quorum decision for the last confirmed ledger: validators that signed it, how many were needed, and the size of the UNL.
quorum_needed: usize§unl_size: usize§unl_lists: Vec<UnlList>Each configured publisher’s latest list.
coverage: Coverage§api: ApiImplementations§
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 UnsafeUnpin 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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Applies the layer to a service and wraps it in [
Layered].