set_queue_depth

Function set_queue_depth 

Source
pub fn set_queue_depth(backend: &str, queue_type: &str, depth: f64)
Expand description

Set the current backlog depth for a queue.

Labeled by backend (e.g. “pubsub”) and queue_type. Fed by the backend’s low-frequency, batched backlog read. Depth that is unavailable (e.g. under the emulator) is intentionally NOT reported here so it cannot read as 0.