Platform and scheduler statistics

This module contains classes for statistics on various entities in the Zoe master.

class zoe_master.stats.ClusterStats

Stats related to the whole cluster.

container_count

Total number of containers.

cores_in_use

Total number of cores in use.

cores_reserved

Total number of cores reserved.

cores_total

Total number of cores installed.

memory_in_use

Total memory in use in the whole platform.

memory_reserved

Total memory reserved in the whole platform.

memory_total

Total memory installed in the whole platform.

serialize()

Convert the object into a dict.

class zoe_master.stats.NodeStats(name)

Stats related to a single node.

serialize()

Convert the object into a dict.

class zoe_master.stats.Stats

Base statistics class.

Every Stats object must have a timestamp that records when the stats it contains where recorded.