feat(api, bll): переделал сервис получения статистики из RabbitMQ. StatRabbitMqController - статистика по очередям и соединениям
This commit is contained in:
@@ -215,6 +215,7 @@
|
||||
public static class StatRabbitMq
|
||||
{
|
||||
public const string GetQueueStats = BaseStat + "/rabbitmq-queues/";
|
||||
public const string GetConnectionStats = BaseStat + "/rabbitmq-connections/";
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
using PARR.DAL.Services.Interfaces;
|
||||
|
||||
namespace PARR.API.Contracts.V1.Responses.Statistics
|
||||
{
|
||||
public class StatRabbitMqQueueResponse
|
||||
{
|
||||
public required string Name { get; set; }
|
||||
|
||||
public int Consumers { get; set; }
|
||||
|
||||
public int MessagesTotal { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user