pub struct DeviceMetrics { /* fields omitted */ }
デバイスの稼働状態.
# 0=stopped
# 1=starting
# 2=running
cannyls_device_status = 0|1|2
デバイスのキューに挿入されたコマンドの数.
cannyls_device_enqueued_commands_total { command="put" } = <COUNTER>
cannyls_device_enqueued_commands_total { command="get" } = <COUNTER>
cannyls_device_enqueued_commands_total { command="head" } = <COUNTER>
cannyls_device_enqueued_commands_total { command="delete" } = <COUNTER>
cannyls_device_enqueued_commands_total { command="list" } = <COUNTER>
cannyls_device_enqueued_commands_total { command="stop" } = <COUNTER>
デバイスのキューから取り出されたコマンドの数.
cannyls_device_dequeued_commands_total { command="put" } = <COUNTER>
cannyls_device_dequeued_commands_total { command="get" } = <COUNTER>
cannyls_device_dequeued_commands_total { command="head" } = <COUNTER>
cannyls_device_dequeued_commands_total { command="delete" } = <COUNTER>
cannyls_device_dequeued_commands_total { command="list" } = <COUNTER>
cannyls_device_dequeued_commands_total { command="stop" } = <COUNTER>
実行に失敗したコマンドの数.
cannyls_device_failed_commands_total { command="put" } = <COUNTER>
cannyls_device_failed_commands_total { command="get" } = <COUNTER>
cannyls_device_failed_commands_total { command="head" } = <COUNTER>
cannyls_device_failed_commands_total { command="delete" } = <COUNTER>
cannyls_device_failed_commands_total { command="list" } = <COUNTER>
cannyls_device_failed_commands_total { command="stop" } = <COUNTER>
デバイスが忙しくて実行を諦めたコマンドの数.
cannyls_device_busy_commands_total { command="put" } = <COUNTER>
cannyls_device_busy_commands_total { command="get" } = <COUNTER>
cannyls_device_busy_commands_total { command="head" } = <COUNTER>
cannyls_device_busy_commands_total { command="delete" } = <COUNTER>
cannyls_device_busy_commands_total { command="list" } = <COUNTER>
cannyls_device_busy_commands_total { command="stop" } = <COUNTER>
補助タスクの実行回数.
cannyls_device_side_jobs_total <COUNTER>
デバイスキューの長さ(i.e., 実行待ちのコマンド数).
sum(cannyls_device_enqueued_commands_total - cannyls_device_dequeued_commands_total)
ストレージのメトリクスを返す.
デバイスの状態がRunning
以外の場合にはNone
が返る.
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
Mutably 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
)
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static