pyfarm.models.statistics.task_count module

TaskCount Model

Model describing the number of tasks in a given queue in a given state at a point in time

class pyfarm.models.statistics.task_count.TaskCount(**kwargs)[source]

Bases: flask_sqlalchemy.Model

counted_time

The point in time at which these counts were done

id

Provides an id for the current row. This value should never be directly relied upon and it’s intended for use by relationships.

job_queue_id

ID of the jobqueue these stats refer to

total_done

Number of done tasks at counted_time

total_failed

Number of failed tasks at counted_time

total_queued

Number of queued tasks at counted_time

total_running

Number of running tasks at counted_time