pub struct StorageMetrics { /* fields omitted */ }
Storage
のメトリクス.
Methods
節に記載の無いメトリクスのみを掲載:
cannyls_storage_header { version="<MAJOR>.<MINOR>", block_size="<BLOCK_SIZE>", uuid="<UUID>", journal_region_size="<BYTES>", data_region_size="<BYTES>" } 1
ストレージに追加されたlumpの数.
cannyls_storage_put_lumps_total { phase="starting|running" } <COUNTER>
ストレージから削除されたlumpの数.
cannyls_storage_delete_lumps_total <COUNTER>
ジャーナル領域から取得したlumpの数.
cannyls_storage_get_lumps_total { region="journal" } <COUNTER>
データ領域から取得したlumpの数.
cannyls_storage_get_lumps_total { region="data" } <COUNTER>
現在のlump数.
cannyls_storage_put_lumps_total - cannyls_storage_delete_lumps_total
ストレージのヘッダ情報.
cannyls_storage_header { version="{MAJOR}.{MINOR}", block_size="...", uuid="...", journal_region_size="...", data_region_size="..." } 1
Performs copy-assignment from source
. Read more
Formats the value using the given formatter. Read more
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static