pyfarm.models.statistics.agent_count module

AgentCount Model

Model describing the counts for agents in various states at a given point in time.

class pyfarm.models.statistics.agent_count.AgentCount(**kwargs)[source]

Bases: flask_sqlalchemy.Model

counted_time

The point in time at which these counts were done

num_disabled

The number of agents that were in state disabled at counted_time

num_offline

The number of agents that were in state offline at counted_time

num_online

The number of agents that were in state online at counted_time

num_running

The number of agents that were in state running at counted_time