pub struct Metrics {
pub calls_queued: u64,
pub calls_refused: u64,
pub budget_exhaustions: u64,
pub tool_refusals: u64,
pub revocations: u64,
pub promises_resolved: u64,
pub promises_rejected: u64,
pub round_trips: u64,
pub transfers: u64,
pub promises_double_settled: u64,
}Expand description
Point-in-time kernel counters for operators and metrics exporters.
Counters carry no capability ids, arguments or secret material: they are
safe to export by default. Per-capability detail stays in Event.
Fields§
§calls_queued: u64Calls accepted into the queue.
calls_refused: u64Calls refused before dispatch.
budget_exhaustions: u64Refusals caused by a budget ceiling.
tool_refusals: u64Refusals caused by tool policy.
revocations: u64Capabilities revoked.
promises_resolved: u64Promises resolved.
promises_rejected: u64Promises rejected.
round_trips: u64Provider round trips.
transfers: u64Capability transfers through channels.
promises_double_settled: u64Settlements attempted on an already-settled promise.
Trait Implementations§
impl Copy for Metrics
impl Eq for Metrics
impl StructuralPartialEq for Metrics
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.