[][src]Struct cannyls::metrics::DataAllocatorMetrics

pub struct DataAllocatorMetrics { /* fields omitted */ }

データ領域用のアロケータのメトリクス.

Methods

impl DataAllocatorMetrics[src]

pub fn inserted_free_portions(&self) -> u64[src]

フリーリストに挿入された要素の数.

Prometheus

cannyls_data_allocator_inserted_free_portions_total <COUNTER>

pub fn removed_free_portions(&self) -> u64[src]

フリーリストから削除された要素の数.

Prometheus

cannyls_data_allocator_removed_free_portions_total <COUNTER>

pub fn free_list_len(&self) -> usize[src]

フリーリストの長さ.

Prometheus

cannyls_data_allocator_inserted_free_portions_total - cannyls_data_allocator_removed_free_portions_total

pub fn allocated_portions(&self) -> u64[src]

部分領域の割当回数.

Prometheus

cannyls_data_allocator_allocated_portions_total { phase="starting|running" } <COUNTER>

pub fn allocated_bytes(&self) -> u64[src]

これまでに割り当てた部分領域のバイト数.

Prometheus

cannyls_data_allocator_allocated_bytes_total { phase="starting|running" } <COUNTER>

pub fn released_portions(&self) -> u64[src]

部分領域の解放回数.

Prometheus

cannyls_data_allocator_released_portions_total <COUNTER>

pub fn released_bytes(&self) -> u64[src]

これまでに解放された部分領域のバイト数.

Prometheus

cannyls_data_allocator_released_bytes_total <COUNTER>

pub fn nospace_failures(&self) -> u64[src]

空き領域不足による割当失敗回数.

Prometheus

cannyls_data_allocator_nospace_failures_total <COUNTER>

Trait Implementations

impl Clone for DataAllocatorMetrics[src]

impl Debug for DataAllocatorMetrics[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.