pyfarm.models.statistics.task_event_count module

TaskEventCount Model

Model describing the number of events that happened for tasks over a time period

class pyfarm.models.statistics.task_event_count.TaskEventCount(**kwargs)[source]

Bases: flask_sqlalchemy.Model

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

num_deleted

Number of tasks that were deleted during the time period

num_done

Number of tasks that were finished successfully during the time period

num_failed

Number of tasks that failed during the time period

num_new

Number of tasks that were newly created during the time period

num_restarted

Number of tasks that were restarted during the time period

num_started

Number of tasks that work was started on during the time period

time_end
time_start