Skip to content

Commit

Permalink
fix consul metrics (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
muphblu authored Nov 21, 2023
1 parent 89a6a62 commit 7c09d5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ATI.Services.Consul/ConsulAdapter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public async Task<OperationResult<List<ServiceEntry>>> GetPassingServiceInstance
{
try
{
using (_metricsFactory.CreateMetricsTimer("/health/service/:service"))
using (_metricsFactory.CreateMetricsTimer("consul", "/health/service/:service"))
{
var fromConsul = await _consulClient.Health.Service(serviceName, environment, passingOnly);
if (fromConsul.StatusCode == HttpStatusCode.OK)
Expand Down

0 comments on commit 7c09d5f

Please sign in to comment.