Cloud Tasks V2beta3 API - Class Google::Cloud::Tasks::V2beta3::QueueStats (v0.8.0)

Reference documentation and code samples for the Cloud Tasks V2beta3 API class Google::Cloud::Tasks::V2beta3::QueueStats.

Statistics for a queue.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#concurrent_dispatches_count

def concurrent_dispatches_count() -> ::Integer
Returns
  • (::Integer) — Output only. The number of requests that the queue has dispatched but has not received a reply for yet.

#effective_execution_rate

def effective_execution_rate() -> ::Float
Returns
  • (::Float) — Output only. The current maximum number of tasks per second executed by the queue. The maximum value of this variable is controlled by the RateLimits of the Queue. However, this value could be less to avoid overloading the endpoints tasks in the queue are targeting.

#executed_last_minute_count

def executed_last_minute_count() -> ::Integer
Returns
  • (::Integer) — Output only. The number of tasks that the queue has dispatched and received a reply for during the last minute. This variable counts both successful and non-successful executions.

#oldest_estimated_arrival_time

def oldest_estimated_arrival_time() -> ::Google::Protobuf::Timestamp
Returns
  • (::Google::Protobuf::Timestamp) — Output only. An estimation of the nearest time in the future where a task in the queue is scheduled to be executed.

#tasks_count

def tasks_count() -> ::Integer
Returns
  • (::Integer) — Output only. An estimation of the number of tasks in the queue, that is, the tasks in the queue that haven't been executed, the tasks in the queue which the queue has dispatched but has not yet received a reply for, and the failed tasks that the queue is retrying.