dynamodb#
- class acore_server_monitoring_core.dynamodb.Measurement(hash_key: Optional[Any] = None, range_key: Optional[Any] = None, **attributes)[source]#
Acore server monitoring time series measurement data store.
- Parameters:
series_id – the time series id, usually it is in format of
{server_id}-{use_case_id}, for examplesbx-blue-worldserver_status,sbx-blue-ec2_rds_status.create_at – the time when the measurement data is created.
expire_at – the time when the measurement data is expired. DynamoDB will automatically delete the expired data in a few days.
- class acore_server_monitoring_core.dynamodb.WorldServerStatusMeasurement(hash_key: Optional[Any] = None, range_key: Optional[Any] = None, **attributes)[source]#
World server status measurement data.
- Parameters:
is_ec2_exists – is EC2 exists.
is_rds_exists – is RDS exists.
is_ec2_running – is EC2 running.
is_rds_running – is RDS running.
ec2_status – EC2 status in string.
rds_status – RDS status in string.
connected_players – connected players.
characters_in_world – characters in world.
server_uptime – server uptime in seconds.
cpu_usage – 0 ~ 100, float. 50.0 means 50%.
memory_usage – 0 ~ 100, float. 50.0 means 50%.
total_memory – total memory in MB.
available_memory – available memory in MB.
- class acore_server_monitoring_core.dynamodb.Ec2RdsStatusMeasurement(hash_key: Optional[Any] = None, range_key: Optional[Any] = None, **attributes)[source]#
EC2 and RDS status measurement data.
- Parameters:
is_ec2_exists – is EC2 exists.
is_rds_exists – is RDS exists.
is_ec2_running – is EC2 running.
is_rds_running – is RDS running.
ec2_status – EC2 status in string.
rds_status – RDS status in string.