feat(api): StatRabbitMqController GetConnectionStats добавлен параметр ThresholdConnections, вынесен в настройки
This commit is contained in:
@@ -3,6 +3,8 @@
|
||||
public class MonitoringSettings
|
||||
{
|
||||
public List<MonitoringRobotSettings> Robots { get; set; } = new List<MonitoringRobotSettings>();
|
||||
|
||||
public MonitoringRabbitMq? RabbitMq { get; set; }
|
||||
}
|
||||
|
||||
public class MonitoringRobotSettings
|
||||
@@ -11,4 +13,12 @@
|
||||
|
||||
public TimeSpan InaccessibilityTime { get; set; }
|
||||
}
|
||||
|
||||
public class MonitoringRabbitMq
|
||||
{
|
||||
/// <summary>
|
||||
/// Кол-во подключений к RabbitMq, если меньше, то алярм
|
||||
/// </summary>
|
||||
public int ThresholdConnections { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user