pub struct MetricsQuery;Expand description
MetricsQuery
Read-only query façade over metric snapshots. Responsible for mapping, sorting, and pagination only.
Implementations§
Source§impl MetricsQuery
impl MetricsQuery
pub fn dispatch(req: MetricsRequest) -> MetricsResponse
pub fn system_snapshot() -> Vec<SystemMetricEntry>
pub fn icc_page(page: PageRequest) -> Page<IccMetricEntry>
pub fn http_page(page: PageRequest) -> Page<HttpMetricEntry>
pub fn timer_page(page: PageRequest) -> Page<TimerMetricEntry>
pub fn access_page(page: PageRequest) -> Page<AccessMetricEntry>
pub fn auth_page(page: PageRequest) -> Page<AuthMetricEntry>
pub fn auth_rollout_page(page: PageRequest) -> Page<AuthRolloutMetricEntry>
pub fn delegation_page(page: PageRequest) -> Page<DelegationMetricEntry>
pub fn root_capability_page( page: PageRequest, ) -> Page<RootCapabilityMetricEntry>
pub fn cycles_funding_page(page: PageRequest) -> Page<CyclesFundingMetricEntry>
pub fn perf_page(page: PageRequest) -> Page<PerfEntry>
pub fn endpoint_health_page( page: PageRequest, exclude_endpoint: Option<&str>, ) -> Page<EndpointHealth>
Auto Trait Implementations§
impl Freeze for MetricsQuery
impl RefUnwindSafe for MetricsQuery
impl Send for MetricsQuery
impl Sync for MetricsQuery
impl Unpin for MetricsQuery
impl UnsafeUnpin for MetricsQuery
impl UnwindSafe for MetricsQuery
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