Skip to content

Commit

Permalink
fix: observation bug
Browse files Browse the repository at this point in the history
  • Loading branch information
hamed-shirbandi committed Dec 5, 2024
1 parent 2a9fa61 commit 746689f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public static void AddOpenTelemetry(this WebApplicationBuilder builder)
if (openTelemetrySettings == null)
return;

if (openTelemetrySettings.IsEnabled())
if (!openTelemetrySettings.IsEnabled())
return;

builder
Expand Down

0 comments on commit 746689f

Please sign in to comment.