pub struct MetricsOps;Expand description
MetricsOps Thin ops-layer facade over volatile metrics state.
Implementations§
Source§impl MetricsOps
impl MetricsOps
Sourcepub fn system_snapshot() -> SystemMetricsSnapshot
pub fn system_snapshot() -> SystemMetricsSnapshot
Export the current metrics snapshot.
Sourcepub fn http_snapshot() -> HttpMetricsSnapshot
pub fn http_snapshot() -> HttpMetricsSnapshot
Export the current HTTP metrics snapshot.
Sourcepub fn http_page(request: PageRequest) -> Page<HttpMetricEntry>
pub fn http_page(request: PageRequest) -> Page<HttpMetricEntry>
Export the current HTTP metrics snapshot as a stable, paged view.
Sourcepub fn icc_snapshot() -> IccMetricsSnapshot
pub fn icc_snapshot() -> IccMetricsSnapshot
Export the current ICC metrics snapshot.
Sourcepub fn icc_page(request: PageRequest) -> Page<IccMetricEntry>
pub fn icc_page(request: PageRequest) -> Page<IccMetricEntry>
Export the current ICC metrics snapshot as a stable, paged view.
Sourcepub fn timer_snapshot() -> TimerMetricsSnapshot
pub fn timer_snapshot() -> TimerMetricsSnapshot
Export the current timer metrics snapshot.
Sourcepub fn timer_page(request: PageRequest) -> Page<TimerMetricEntry>
pub fn timer_page(request: PageRequest) -> Page<TimerMetricEntry>
Export the current timer metrics snapshot as a stable, paged view.
Sourcepub fn access_snapshot() -> AccessMetricsSnapshot
pub fn access_snapshot() -> AccessMetricsSnapshot
Export the current access metrics snapshot.
Sourcepub fn access_page(request: PageRequest) -> Page<AccessMetricEntry>
pub fn access_page(request: PageRequest) -> Page<AccessMetricEntry>
Export the current access metrics snapshot as a stable, paged view.
Sourcepub fn endpoint_health_page(request: PageRequest) -> Page<EndpointHealthEntry>
pub fn endpoint_health_page(request: PageRequest) -> Page<EndpointHealthEntry>
Derived endpoint health view (attempts + denials + results + perf).
Sourcepub fn endpoint_health_page_excluding(
request: PageRequest,
exclude_endpoint: Option<&str>,
) -> Page<EndpointHealthEntry>
pub fn endpoint_health_page_excluding( request: PageRequest, exclude_endpoint: Option<&str>, ) -> Page<EndpointHealthEntry>
Derived endpoint health view (attempts + denials + results + perf), optionally excluding an endpoint label (useful to avoid self-observation artifacts for the view endpoint itself).