namespace RemoteExec.Shared.Models;
///
/// Represents performance and status metrics for a remote execution server.
///
public sealed class ServerMetrics
{
///
/// Gets or sets the number of active client connections to the server.
///
public int ActiveConnections { get; set; }
///
/// Gets or sets the number of tasks currently being executed on the server.
///
public int ActiveTasks { get; set; }
///
/// Gets or sets the maximum number of tasks that can execute concurrently on the server.
///
public int MaxConcurrentTasks { get; set; }
///
/// Gets or sets the total memory usage of the server process in bytes.
///
public long TotalMemoryUsage { get; set; }
///
/// Gets or sets the CPU usage percentage (0-100) of the server process.
///
public double CpuUsage { get; set; }
///
/// Gets or sets the timestamp when these metrics were captured.
///
public DateTime Timestamp { get; set; }
///
/// Gets or sets the unique identifier for the server.
///
public string ServerId { get; set; } = string.Empty;
}