soulfire.metrics_pb2.MetricsSnapshot¶
- class soulfire.metrics_pb2.MetricsSnapshot(timestamp: datetime.datetime | google.protobuf.timestamp_pb2.Timestamp | collections.abc.Mapping | None = ..., bots_online: int | None = ..., bots_total: int | None = ..., packets_sent_total: int | None = ..., packets_received_total: int | None = ..., bytes_sent_total: int | None = ..., bytes_received_total: int | None = ..., packets_sent_per_second: float | None = ..., packets_received_per_second: float | None = ..., bytes_sent_per_second: float | None = ..., bytes_received_per_second: float | None = ..., avg_tick_duration_ms: float | None = ..., max_tick_duration_ms: float | None = ..., avg_health: float | None = ..., avg_food_level: float | None = ..., total_loaded_chunks: int | None = ..., total_tracked_entities: int | None = ..., connections: int | None = ..., disconnections: int | None = ...)¶
Bases:
google.protobuf.message.MessageAbstract base class for protocol messages.
Protocol message classes are almost always generated by the protocol compiler. These generated types subclass Message and implement the methods shown below.
- TIMESTAMP_FIELD_NUMBER: ClassVar[int]¶
- BOTS_ONLINE_FIELD_NUMBER: ClassVar[int]¶
- BOTS_TOTAL_FIELD_NUMBER: ClassVar[int]¶
- PACKETS_SENT_TOTAL_FIELD_NUMBER: ClassVar[int]¶
- PACKETS_RECEIVED_TOTAL_FIELD_NUMBER: ClassVar[int]¶
- BYTES_SENT_TOTAL_FIELD_NUMBER: ClassVar[int]¶
- BYTES_RECEIVED_TOTAL_FIELD_NUMBER: ClassVar[int]¶
- PACKETS_SENT_PER_SECOND_FIELD_NUMBER: ClassVar[int]¶
- PACKETS_RECEIVED_PER_SECOND_FIELD_NUMBER: ClassVar[int]¶
- BYTES_SENT_PER_SECOND_FIELD_NUMBER: ClassVar[int]¶
- BYTES_RECEIVED_PER_SECOND_FIELD_NUMBER: ClassVar[int]¶
- AVG_TICK_DURATION_MS_FIELD_NUMBER: ClassVar[int]¶
- MAX_TICK_DURATION_MS_FIELD_NUMBER: ClassVar[int]¶
- AVG_HEALTH_FIELD_NUMBER: ClassVar[int]¶
- AVG_FOOD_LEVEL_FIELD_NUMBER: ClassVar[int]¶
- TOTAL_LOADED_CHUNKS_FIELD_NUMBER: ClassVar[int]¶
- TOTAL_TRACKED_ENTITIES_FIELD_NUMBER: ClassVar[int]¶
- CONNECTIONS_FIELD_NUMBER: ClassVar[int]¶
- DISCONNECTIONS_FIELD_NUMBER: ClassVar[int]¶
- timestamp: google.protobuf.timestamp_pb2.Timestamp¶
- bots_online: int¶
- bots_total: int¶
- packets_sent_total: int¶
- packets_received_total: int¶
- bytes_sent_total: int¶
- bytes_received_total: int¶
- packets_sent_per_second: float¶
- packets_received_per_second: float¶
- bytes_sent_per_second: float¶
- bytes_received_per_second: float¶
- avg_tick_duration_ms: float¶
- max_tick_duration_ms: float¶
- avg_health: float¶
- avg_food_level: float¶
- total_loaded_chunks: int¶
- total_tracked_entities: int¶
- connections: int¶
- disconnections: int¶