Skip to content

Commit

Permalink
fix: #87 add activity to AzureServiceBusHealthCheck
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastianKuesters committed Jun 13, 2024
1 parent 3e1b3c6 commit 8903e2f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ public AzureServiceBusHealthCheck(string connectionString, string queueName)

public async Task<HealthCheckResult> CheckHealthAsync(HealthCheckContext context, CancellationToken cancellationToken = default)
{
using var activity = Observability.DefaultActivities.StartActivity();
try
{
var client = ClientConnections.GetOrAdd(_queueName, _ => new ServiceBusClient(_connectionString));
Expand Down

0 comments on commit 8903e2f

Please sign in to comment.