From 51849041925e21ac08bfc86242e83a5624f6b685 Mon Sep 17 00:00:00 2001 From: Aidar Shaikhiev Date: Tue, 14 Nov 2023 12:57:57 +0600 Subject: [PATCH] Try other type of metric --- ATI.Services.Consul/ConsulAdapter.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ATI.Services.Consul/ConsulAdapter.cs b/ATI.Services.Consul/ConsulAdapter.cs index 0e53d0f..23193cc 100644 --- a/ATI.Services.Consul/ConsulAdapter.cs +++ b/ATI.Services.Consul/ConsulAdapter.cs @@ -13,7 +13,7 @@ internal class ConsulAdapter: IDisposable { private readonly ILogger _logger = LogManager.GetCurrentClassLogger(); private readonly ConsulClient _consulClient = new(); - private readonly MetricsFactory _metricsFactory = MetricsFactory.CreateExternalHttpMetricsFactory(); + private readonly MetricsFactory _metricsFactory = MetricsFactory.CreateHttpClientMetricsFactory(nameof(ConsulAdapter), "consul"); /// /// Возвращает список живых сервисов