Class: Google::Cloud::Tasks::V2beta2::QueueStats

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/tasks/v2beta2/queue.rb

Overview

Statistics for a queue.

Instance Attribute Summary collapse

Instance Attribute Details

#concurrent_dispatches_count::Integer (readonly)

Returns Output only. The number of requests that the queue has dispatched but has not received a reply for yet.

Returns:

  • (::Integer)

    Output only. The number of requests that the queue has dispatched but has not received a reply for yet.



431
432
433
434
# File 'proto_docs/google/cloud/tasks/v2beta2/queue.rb', line 431

class QueueStats
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#effective_execution_rate::Float (readonly)

Returns 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.

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.



431
432
433
434
# File 'proto_docs/google/cloud/tasks/v2beta2/queue.rb', line 431

class QueueStats
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#executed_last_minute_count::Integer (readonly)

Returns 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.

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.



431
432
433
434
# File 'proto_docs/google/cloud/tasks/v2beta2/queue.rb', line 431

class QueueStats
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#oldest_estimated_arrival_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. An estimation of the nearest time in the future where a task in the queue is scheduled to be executed.

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.



431
432
433
434
# File 'proto_docs/google/cloud/tasks/v2beta2/queue.rb', line 431

class QueueStats
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#tasks_count::Integer (readonly)

Returns 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.

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.



431
432
433
434
# File 'proto_docs/google/cloud/tasks/v2beta2/queue.rb', line 431

class QueueStats
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end